test #332
| @@ -5,6 +5,7 @@ data class GetRoomListResponse( | |||||||
|     val title: String, |     val title: String, | ||||||
|     val content: String, |     val content: String, | ||||||
|     val beginDateTime: String, |     val beginDateTime: String, | ||||||
|  |     val beginDateTimeUtc: String, | ||||||
|     val numberOfParticipate: Int, |     val numberOfParticipate: Int, | ||||||
|     val numberOfPeople: Int, |     val numberOfPeople: Int, | ||||||
|     val coverImageUrl: String, |     val coverImageUrl: String, | ||||||
|   | |||||||
| @@ -176,11 +176,15 @@ class LiveRoomService( | |||||||
|                             .withLocale(Locale.KOREAN) |                             .withLocale(Locale.KOREAN) | ||||||
|                     ) |                     ) | ||||||
|  |  | ||||||
|  |                 val beginDateTimeUtc = it.beginDateTime | ||||||
|  |                     .format(DateTimeFormatter.ISO_LOCAL_DATE_TIME) | ||||||
|  |  | ||||||
|                 GetRoomListResponse( |                 GetRoomListResponse( | ||||||
|                     roomId = it.id!!, |                     roomId = it.id!!, | ||||||
|                     title = it.title, |                     title = it.title, | ||||||
|                     content = it.notice, |                     content = it.notice, | ||||||
|                     beginDateTime = beginDateTime, |                     beginDateTime = beginDateTime, | ||||||
|  |                     beginDateTimeUtc = beginDateTimeUtc, | ||||||
|                     numberOfParticipate = (roomInfo?.listenerCount ?: 0) + |                     numberOfParticipate = (roomInfo?.listenerCount ?: 0) + | ||||||
|                         (roomInfo?.speakerCount ?: 0) + |                         (roomInfo?.speakerCount ?: 0) + | ||||||
|                         (roomInfo?.managerCount ?: 0), |                         (roomInfo?.managerCount ?: 0), | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user