Merge pull request '스피커 최대 10 -> 5명으로 수정' (#10) from test into main
Reviewed-on: #10
This commit is contained in:
commit
474646db47
|
@ -795,7 +795,7 @@ class LiveRoomService(
|
||||||
val member = memberRepository.findByIdOrNull(request.memberId)
|
val member = memberRepository.findByIdOrNull(request.memberId)
|
||||||
?: throw SodaException("로그인 정보를 확인해 주세요.")
|
?: throw SodaException("로그인 정보를 확인해 주세요.")
|
||||||
|
|
||||||
if (roomInfo.speakerCount > 9) {
|
if (roomInfo.speakerCount > 4) {
|
||||||
throw SodaException("스피커 정원이 초과하였습니다.")
|
throw SodaException("스피커 정원이 초과하였습니다.")
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue