Skip to content

Commit

Permalink
[HOTFIX] 아이템 관련 스키마 변경에 따른 로직 수정
Browse files Browse the repository at this point in the history
추후 확인 후 수정 요망
  • Loading branch information
EunbeenDev committed Aug 14, 2024
1 parent f22fb82 commit 1d95f61
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ public ResponseEntity<?> completeQuest(UserPrincipal userPrincipal, Long id) {

private List<Item> unLockItem(Long level, Character character) {
List<Item> items = character.getItems();
List<Item> lockItems = items.stream().filter(item -> item.getRequiredLevel().equals(level))
List<Item> lockItems = items.stream().filter(item -> item.getItemImage().getRequiredLevel().equals(level))
.collect(Collectors.toList());
return lockItems;

Expand Down

0 comments on commit 1d95f61

Please sign in to comment.