응원글 - memberId 추가

This commit is contained in:
Klaus 2023-09-05 12:07:08 +09:00
parent febfa442fa
commit 056e575e7c
2 changed files with 3 additions and 0 deletions

View File

@ -451,6 +451,7 @@ class ExplorerQueryRepository(
GetCheersResponseItem( GetCheersResponseItem(
cheersId = it.id!!, cheersId = it.id!!,
memberId = it.member!!.id!!,
nickname = it.member!!.nickname, nickname = it.member!!.nickname,
profileUrl = if (it.member!!.profileImage != null) { profileUrl = if (it.member!!.profileImage != null) {
"$cloudFrontHost/${it.member!!.profileImage}" "$cloudFrontHost/${it.member!!.profileImage}"
@ -467,6 +468,7 @@ class ExplorerQueryRepository(
GetCheersResponseItem( GetCheersResponseItem(
cheersId = cheers.id!!, cheersId = cheers.id!!,
memberId = cheers.member!!.id!!,
nickname = cheers.member!!.nickname, nickname = cheers.member!!.nickname,
profileUrl = if (cheers.member!!.profileImage != null) { profileUrl = if (cheers.member!!.profileImage != null) {
"$cloudFrontHost/${cheers.member!!.profileImage}" "$cloudFrontHost/${cheers.member!!.profileImage}"

View File

@ -7,6 +7,7 @@ data class GetCheersResponse(
data class GetCheersResponseItem( data class GetCheersResponseItem(
val cheersId: Long, val cheersId: Long,
val memberId: Long,
val nickname: String, val nickname: String,
val profileUrl: String, val profileUrl: String,
val content: String, val content: String,