Skip to content

Commit

Permalink
fix(chat) : 채팅메시지 조회 api 타입 오류 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
waterfogSW committed Feb 15, 2025
1 parent dd41bee commit 0fa7f4e
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
package com.threedays.bootstrap.api.chat.adapter.rest

import com.threedays.domain.chat.entity.Channel
import com.threedays.domain.chat.repository.MessageQueryRepository
import com.threedays.oas.api.ChatApi
import com.threedays.oas.model.GetChannelMessagesResponse
Expand All @@ -22,7 +23,7 @@ class ChatRestController(
limit: Int
): ResponseEntity<GetChannelMessagesResponse> {
val (resultMessages, resultNext) = messageQueryRepository.scrollByChannelId(
channelId = UUIDTypeId.from(channelId),
channelId = Channel.Id(channelId),
next = next?.let { UUIDTypeId.from(it) },
limit = limit
)
Expand Down

0 comments on commit 0fa7f4e

Please sign in to comment.