메뉴판 가져오기
- 메뉴판이 없을 때 예외처리 수정
This commit is contained in:
@@ -69,10 +69,6 @@ class LiveRoomMenuService(
|
||||
fun getLiveMenu(creatorId: Long): GetMenuResponse? {
|
||||
val menuList = repository.findByCreatorId(creatorId = creatorId)
|
||||
|
||||
if (menuList.isEmpty()) {
|
||||
throw SodaException("설정된 메뉴판이 없습니다.")
|
||||
}
|
||||
|
||||
var activeMenu: LiveRoomMenu? = null
|
||||
for (menu in menuList) {
|
||||
if (menu.isActive) {
|
||||
|
Reference in New Issue
Block a user