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