test #332

Merged
klaus merged 15 commits from test into main 2025-07-18 12:33:22 +00:00
2 changed files with 5 additions and 0 deletions
Showing only changes of commit d1c889e5f2 - Show all commits

View File

@ -5,6 +5,7 @@ data class GetRoomListResponse(
val title: String,
val content: String,
val beginDateTime: String,
val beginDateTimeUtc: String,
val numberOfParticipate: Int,
val numberOfPeople: Int,
val coverImageUrl: String,

View File

@ -176,11 +176,15 @@ class LiveRoomService(
.withLocale(Locale.KOREAN)
)
val beginDateTimeUtc = it.beginDateTime
.format(DateTimeFormatter.ISO_LOCAL_DATE_TIME)
GetRoomListResponse(
roomId = it.id!!,
title = it.title,
content = it.notice,
beginDateTime = beginDateTime,
beginDateTimeUtc = beginDateTimeUtc,
numberOfParticipate = (roomInfo?.listenerCount ?: 0) +
(roomInfo?.speakerCount ?: 0) +
(roomInfo?.managerCount ?: 0),