음성메시지 - 로딩 버그 수정

This commit is contained in:
Klaus 2023-08-21 22:14:40 +09:00
parent ff81c6c5ca
commit fa8d8c4ab1
1 changed files with 4 additions and 4 deletions

View File

@ -146,16 +146,16 @@ class MessageService(
return getVoiceMessageResponse(totalCount, messageList, timezone)
}
fun getReceivedVoiceMessages(member: Member, pageable: Pageable, timezone: String): GetTextMessageResponse {
fun getReceivedVoiceMessages(member: Member, pageable: Pageable, timezone: String): GetVoiceMessageResponse {
val totalCount = repository.getReceivedVoiceMessageCount(memberId = member.id!!)
val messageList = repository.getReceivedVoiceMessageList(pageable, memberId = member.id!!)
return getTextMessageResponse(totalCount, messageList, timezone)
return getVoiceMessageResponse(totalCount, messageList, timezone)
}
fun getKeepVoiceMessages(member: Member, pageable: Pageable, timezone: String): GetTextMessageResponse {
fun getKeepVoiceMessages(member: Member, pageable: Pageable, timezone: String): GetVoiceMessageResponse {
val totalCount = repository.getKeepVoiceMessageCount(memberId = member.id!!)
val messageList = repository.getKeepVoiceMessageList(pageable, memberId = member.id!!)
return getTextMessageResponse(totalCount, messageList, timezone)
return getVoiceMessageResponse(totalCount, messageList, timezone)
}
@Transactional