test #332

Merged
klaus merged 15 commits from test into main 2025-07-18 12:33:22 +00:00
2 changed files with 2 additions and 2 deletions
Showing only changes of commit 34440e9ba3 - Show all commits

View File

@ -171,7 +171,7 @@ class LiveRoomController(
) = run { ) = run {
if (member == null) throw SodaException("로그인 정보를 확인해주세요.") if (member == null) throw SodaException("로그인 정보를 확인해주세요.")
ApiResponse.ok(service.getDonationTotal(roomId, memberId = member.id!!)) ApiResponse.ok(service.getDonationTotal(roomId))
} }
@PutMapping("/info/set/speaker") @PutMapping("/info/set/speaker")

View File

@ -997,7 +997,7 @@ class LiveRoomService(
) )
} }
fun getDonationTotal(roomId: Long, memberId: Long): GetLiveRoomDonationTotalResponse { fun getDonationTotal(roomId: Long): GetLiveRoomDonationTotalResponse {
return GetLiveRoomDonationTotalResponse( return GetLiveRoomDonationTotalResponse(
totalDonationCan = repository.getDonationTotal(roomId = roomId) ?: 0 totalDonationCan = repository.getDonationTotal(roomId = roomId) ?: 0
) )