fix: 라이브 후원 합계 API
- 안쓰는 파라미터 제거
This commit is contained in:
@@ -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
|
||||
)
|
||||
|
Reference in New Issue
Block a user