Skip to content

Commit

Permalink
[AN] fix: 채팅 api 주소 변경 (#715)
Browse files Browse the repository at this point in the history
  • Loading branch information
gaeun5744 authored Oct 23, 2024
1 parent 28d75d2 commit bd551e9
Showing 1 changed file with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -70,13 +70,13 @@ class ApiClient {
}

object WebSocket {
fun publishEnter(chatRoomId: Long) = "/publish/enter/$chatRoomId"
fun publishEnter(chatRoomId: Long) = "/publish/chat.$chatRoomId"

fun publishMessage(chatRoomId: Long) = "/publish/chat/$chatRoomId"
fun publishMessage(chatRoomId: Long) = "/publish/chat.$chatRoomId"

fun publishLeave(chatRoomId: Long) = "/publish/leave/$chatRoomId"
fun publishLeave(chatRoomId: Long) = "/publish/chat.$chatRoomId"

fun subscribeChat(chatRoomId: Long) = "/topic/chat/$chatRoomId"
fun subscribeChat(chatRoomId: Long) = "/exchange/chat.exchange/room.$chatRoomId"
}

object AlarmToken {
Expand Down

0 comments on commit bd551e9

Please sign in to comment.