fix: 라이브 후원 합계 API

- 안쓰는 파라미터 제거
This commit is contained in:
Klaus 2025-07-17 19:36:10 +09:00
parent d1c889e5f2
commit 34440e9ba3
2 changed files with 2 additions and 2 deletions

View File

@ -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")

View File

@ -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
)