Skip to content

Commit

Permalink
refactor: INVISIBLE 타입의 카드 응답에 포함하도록 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
rlajm1203 committed Sep 19, 2024
1 parent 2c72741 commit 3557aa4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public List<BoardCardResponseDto> getByNavigationId(Integer navigationId, Intege
boards = boards.stream()
.filter(
board ->{
if(board.getId()==1 || board.getId()==2 || board.getId()==3) {
if(board.getCardType().equals(CardType.INVISIBLE)) {
return true;
}
return year == null || Optional.ofNullable(board.getCardId())
Expand Down

0 comments on commit 3557aa4

Please sign in to comment.