test #332
|
@ -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,
|
||||
|
|
|
@ -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),
|
||||
|
|
Loading…
Reference in New Issue