test #405

Merged
klaus merged 3 commits from test into main 2026-03-19 09:33:40 +00:00
Showing only changes of commit 2e0f0c5044 - Show all commits

View File

@@ -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,