diff --git a/src/main/java/com/noplanb/domain/item/application/ItemService.java b/src/main/java/com/noplanb/domain/item/application/ItemService.java index a05c091..73b8706 100644 --- a/src/main/java/com/noplanb/domain/item/application/ItemService.java +++ b/src/main/java/com/noplanb/domain/item/application/ItemService.java @@ -66,7 +66,7 @@ public ResponseEntity getCategoryItemList(UserPrincipal userPrincipal, String case "fashion": // item_type이 HEAD, GLASSES, CLOTHES인 item만 필터링 itemList = items.stream() - .filter(item -> item.getItemImage().getItemType().equals(HEAD) || item.getItemImage().getItemType().equals(GLASSES) || item.getItemImage().getItemType().equals(CLOTHES)) + .filter(item -> item.getItemImage().getItemType().equals(HEAD) || item.getItemImage().getItemType().equals(GLASSES) || item.getItemImage().getItemType().equals(CLOTHES) || item.getItemImage().getItemType().equals(ETC)) .toList(); break; diff --git a/src/main/java/com/noplanb/domain/item_image/domain/ItemType.java b/src/main/java/com/noplanb/domain/item_image/domain/ItemType.java index b30db74..b4eb3c3 100644 --- a/src/main/java/com/noplanb/domain/item_image/domain/ItemType.java +++ b/src/main/java/com/noplanb/domain/item_image/domain/ItemType.java @@ -12,6 +12,7 @@ public enum ItemType { HEAD, // 모자 GLASSES, // 안경 CLOTHES, // 옷 + ETC, // 기타 // 카테고리 - 배경 BACKGROUND //배경