Compare commits
2 Commits
8bd46d8f21
...
28f58c7f56
Author | SHA1 | Date |
---|---|---|
|
28f58c7f56 | |
|
8b69458d75 |
|
@ -874,13 +874,6 @@ class LiveRoomService(
|
|||
}
|
||||
|
||||
fun getDonationMessageList(roomId: Long, member: Member): List<LiveRoomDonationMessage> {
|
||||
val room = repository.findByIdOrNull(roomId)
|
||||
?: throw SodaException("해당하는 라이브가 없습니다.")
|
||||
|
||||
if (member.id!! != room.member!!.id!!) {
|
||||
throw SodaException("잘못된 요청입니다.")
|
||||
}
|
||||
|
||||
val roomInfo = roomInfoRepository.findByIdOrNull(roomId)
|
||||
?: throw SodaException("해당하는 라이브의 정보가 없습니다.")
|
||||
|
||||
|
|
Loading…
Reference in New Issue