fix(chat-room): api url 수정
- /api/chat/rooms/... -> /api/chat/room/...
This commit is contained in:
		@@ -28,14 +28,14 @@ interface TalkApi {
 | 
				
			|||||||
    ): Single<ApiResponse<CreateChatRoomResponse>>
 | 
					    ): Single<ApiResponse<CreateChatRoomResponse>>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // 통합 채팅방 입장 API
 | 
					    // 통합 채팅방 입장 API
 | 
				
			||||||
    @GET("/api/chat/rooms/{roomId}/enter")
 | 
					    @GET("/api/chat/room/{roomId}/enter")
 | 
				
			||||||
    fun enterChatRoom(
 | 
					    fun enterChatRoom(
 | 
				
			||||||
        @Header("Authorization") authHeader: String,
 | 
					        @Header("Authorization") authHeader: String,
 | 
				
			||||||
        @Path("roomId") roomId: Long
 | 
					        @Path("roomId") roomId: Long
 | 
				
			||||||
    ): Single<ApiResponse<ChatRoomEnterResponse>>
 | 
					    ): Single<ApiResponse<ChatRoomEnterResponse>>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // 메시지 전송 API
 | 
					    // 메시지 전송 API
 | 
				
			||||||
    @POST("/api/chat/rooms/{roomId}/messages")
 | 
					    @POST("/api/chat/room/{roomId}/messages")
 | 
				
			||||||
    fun sendMessage(
 | 
					    fun sendMessage(
 | 
				
			||||||
        @Header("Authorization") authHeader: String,
 | 
					        @Header("Authorization") authHeader: String,
 | 
				
			||||||
        @Path("roomId") roomId: Long,
 | 
					        @Path("roomId") roomId: Long,
 | 
				
			||||||
@@ -43,7 +43,7 @@ interface TalkApi {
 | 
				
			|||||||
    ): Single<ApiResponse<List<ServerChatMessage>>>
 | 
					    ): Single<ApiResponse<List<ServerChatMessage>>>
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    // 점진적 메시지 로딩 API
 | 
					    // 점진적 메시지 로딩 API
 | 
				
			||||||
    @GET("/api/chat/rooms/{roomId}/messages")
 | 
					    @GET("/api/chat/room/{roomId}/messages")
 | 
				
			||||||
    fun getChatRoomMessages(
 | 
					    fun getChatRoomMessages(
 | 
				
			||||||
        @Header("Authorization") authHeader: String,
 | 
					        @Header("Authorization") authHeader: String,
 | 
				
			||||||
        @Path("roomId") roomId: Long,
 | 
					        @Path("roomId") roomId: Long,
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user