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