coin -> can 으로 변경
This commit is contained in:
@@ -58,7 +58,7 @@ class ExplorerQueryRepository(
|
||||
creatorId: Long,
|
||||
limit: Long,
|
||||
offset: Long = 0,
|
||||
withDonationCoin: Boolean
|
||||
withDonationCan: Boolean
|
||||
): List<MemberDonationRankingResponse> {
|
||||
val creator = QMember("creator")
|
||||
val member = QMember("user")
|
||||
@@ -82,7 +82,7 @@ class ExplorerQueryRepository(
|
||||
.fetch()
|
||||
.map {
|
||||
val account = it.get(member)!!
|
||||
val donationCoin = it.get(donation)!!
|
||||
val donationCan = it.get(donation)!!
|
||||
MemberDonationRankingResponse(
|
||||
account.id!!,
|
||||
account.nickname,
|
||||
@@ -91,7 +91,7 @@ class ExplorerQueryRepository(
|
||||
} else {
|
||||
"$cloudFrontHost/profile/default-profile.png"
|
||||
},
|
||||
if (withDonationCoin) donationCoin else 0
|
||||
if (withDonationCan) donationCan else 0
|
||||
)
|
||||
}
|
||||
}
|
||||
|
@@ -4,5 +4,5 @@ data class MemberDonationRankingResponse(
|
||||
val userId: Long,
|
||||
val nickname: String,
|
||||
val profileImage: String,
|
||||
val donationCoin: Int
|
||||
val donationCan: Int
|
||||
)
|
||||
|
Reference in New Issue
Block a user