Merge pull request 'test' (#216) from test into main

Reviewed-on: #216
This commit is contained in:
klaus 2024-09-24 10:17:58 +00:00
commit c160dd791f
2 changed files with 3 additions and 3 deletions

View File

@ -318,8 +318,8 @@ class AudioContentService(
val timeDifference = timeDifference(previewStartTime, previewEndTime)
if (timeDifference < 30000) {
throw SodaException("미리 듣기의 최소 시간은 30초 입니다.")
if (timeDifference < 15000) {
throw SodaException("미리 듣기의 최소 시간은 15초 입니다.")
}
} else {
if (previewStartTime != null || previewEndTime != null) {

View File

@ -983,7 +983,7 @@ class LiveRoomService(
val member = memberRepository.findByIdOrNull(request.memberId)
?: throw SodaException("로그인 정보를 확인해 주세요.")
if (roomInfo.speakerCount > 4) {
if (roomInfo.speakerCount > 5) {
throw SodaException("스피커 정원이 초과하였습니다.")
}