test #405
@@ -431,10 +431,15 @@ class ExplorerQueryRepository(
|
|||||||
price = it.price,
|
price = it.price,
|
||||||
channelName = it.channelName,
|
channelName = it.channelName,
|
||||||
managerNickname = it.member!!.nickname,
|
managerNickname = it.member!!.nickname,
|
||||||
coverImageUrl = if (it.coverImage!!.startsWith("https://")) {
|
// 기존: 라이브 방 커버 이미지를 반환
|
||||||
it.coverImage!!
|
// 변경: 크리에이터(방 매니저) 프로필 이미지를 반환
|
||||||
} else {
|
coverImageUrl = run {
|
||||||
"$cloudFrontHost/${it.coverImage!!}"
|
val profileImage = it.member!!.profileImage
|
||||||
|
when {
|
||||||
|
profileImage.isNullOrBlank() -> "$cloudFrontHost/profile/default-profile.png"
|
||||||
|
profileImage.startsWith("https://") -> profileImage
|
||||||
|
else -> "$cloudFrontHost/$profileImage"
|
||||||
|
}
|
||||||
},
|
},
|
||||||
isReservation = reservations.isNotEmpty(),
|
isReservation = reservations.isNotEmpty(),
|
||||||
isActive = it.isActive,
|
isActive = it.isActive,
|
||||||
|
|||||||
Reference in New Issue
Block a user