test #332
| @@ -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