라이브 방 리스트 - 크리에이터 프로필 이미지 URL 추가
This commit is contained in:
parent
da4ecf7d23
commit
7e02acd22c
|
@ -12,6 +12,7 @@ data class GetRoomListResponse(
|
||||||
val price: Int,
|
val price: Int,
|
||||||
val tags: List<String>,
|
val tags: List<String>,
|
||||||
val channelName: String?,
|
val channelName: String?,
|
||||||
|
val creatorProfileImage: String,
|
||||||
val creatorNickname: String,
|
val creatorNickname: String,
|
||||||
val creatorId: Long,
|
val creatorId: Long,
|
||||||
val isReservation: Boolean,
|
val isReservation: Boolean,
|
||||||
|
|
|
@ -146,6 +146,11 @@ class LiveRoomService(
|
||||||
isAdult = it.isAdult,
|
isAdult = it.isAdult,
|
||||||
price = it.price,
|
price = it.price,
|
||||||
channelName = it.channelName,
|
channelName = it.channelName,
|
||||||
|
creatorProfileImage = if (it.member!!.profileImage != null) {
|
||||||
|
"$cloudFrontHost/${it.member!!.profileImage}"
|
||||||
|
} else {
|
||||||
|
"$cloudFrontHost/profile/default-profile.png"
|
||||||
|
},
|
||||||
creatorNickname = it.member!!.nickname,
|
creatorNickname = it.member!!.nickname,
|
||||||
creatorId = it.member!!.id!!,
|
creatorId = it.member!!.id!!,
|
||||||
tags = it.tags
|
tags = it.tags
|
||||||
|
|
Loading…
Reference in New Issue