test #139

Merged
klaus merged 14 commits from test into main 2024-03-08 13:40:27 +00:00
1 changed files with 0 additions and 4 deletions
Showing only changes of commit 97d44104e1 - Show all commits

View File

@ -69,10 +69,6 @@ class LiveRoomMenuService(
fun getLiveMenu(creatorId: Long): GetMenuResponse? { fun getLiveMenu(creatorId: Long): GetMenuResponse? {
val menuList = repository.findByCreatorId(creatorId = creatorId) val menuList = repository.findByCreatorId(creatorId = creatorId)
if (menuList.isEmpty()) {
throw SodaException("설정된 메뉴판이 없습니다.")
}
var activeMenu: LiveRoomMenu? = null var activeMenu: LiveRoomMenu? = null
for (menu in menuList) { for (menu in menuList) {
if (menu.isActive) { if (menu.isActive) {