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