Skip to content

Commit

Permalink
Merge pull request #51 from DEPthes/feat/user-character-exist
Browse files Browse the repository at this point in the history
패션 아이템 삭제를 위한 enum 추가
  • Loading branch information
EunbeenDev authored Aug 19, 2024
2 parents 3967d2f + 97c03c4 commit aece555
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ public enum ItemType {
HEAD, // 모자
GLASSES, // 안경
CLOTHES, // 옷
ETC, // 기타

// 카테고리 - 배경
BACKGROUND //배경
Expand Down

0 comments on commit aece555

Please sign in to comment.