parent
d1c889e5f2
commit
34440e9ba3
|
@ -171,7 +171,7 @@ class LiveRoomController(
|
|||
) = run {
|
||||
if (member == null) throw SodaException("로그인 정보를 확인해주세요.")
|
||||
|
||||
ApiResponse.ok(service.getDonationTotal(roomId, memberId = member.id!!))
|
||||
ApiResponse.ok(service.getDonationTotal(roomId))
|
||||
}
|
||||
|
||||
@PutMapping("/info/set/speaker")
|
||||
|
|
|
@ -997,7 +997,7 @@ class LiveRoomService(
|
|||
)
|
||||
}
|
||||
|
||||
fun getDonationTotal(roomId: Long, memberId: Long): GetLiveRoomDonationTotalResponse {
|
||||
fun getDonationTotal(roomId: Long): GetLiveRoomDonationTotalResponse {
|
||||
return GetLiveRoomDonationTotalResponse(
|
||||
totalDonationCan = repository.getDonationTotal(roomId = roomId) ?: 0
|
||||
)
|
||||
|
|
Loading…
Reference in New Issue