diff --git a/src/main/java/team7/inplace/place/application/dto/PlaceDetailInfo.java b/src/main/java/team7/inplace/place/application/dto/PlaceDetailInfo.java index 5e6fd120..264d0a90 100644 --- a/src/main/java/team7/inplace/place/application/dto/PlaceDetailInfo.java +++ b/src/main/java/team7/inplace/place/application/dto/PlaceDetailInfo.java @@ -69,7 +69,8 @@ public static MenuInfos of( LocalDateTime menuUpdatedAt) { menuImgUrls = menuImgUrls.stream() .filter(url -> url != null && url.isBlank()) - .toList(); + .toList() + .isEmpty() ? null : menuImgUrls; List menuList = menus.stream() .map(menu -> new MenuInfo(menu.getPrice(), menu.isRecommend(), menu.getMenuName(), menu.getMenuImgUrl().trim(), menu.getDescription()))