Skip to content

Commit

Permalink
fix: 기획 변경에 따른 편지 목록 조회 로직 수정 #3
Browse files Browse the repository at this point in the history
  • Loading branch information
623nana committed Aug 27, 2021
1 parent 5a791cf commit 416a19b
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,7 @@ public List<LetterResponse> findLettersByEmail(String email, boolean unposted) {
}
return letterRepository.findLettersByEmailOrderByCreatedDateDesc(email)
.stream()
.filter(l -> !l.unpostedSendOption())
.map(LetterResponse::new)
.collect(Collectors.toList());
}
Expand Down

0 comments on commit 416a19b

Please sign in to comment.