Skip to content

Commit

Permalink
fix: sendReminderToIncompleteMissions메서드에서 token값 null인것 대상에서 제외 (#278)
Browse files Browse the repository at this point in the history
  • Loading branch information
dbscks97 authored Sep 25, 2024
1 parent 6a03e3f commit 76dc4b2
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ private List<String> getIncompleteMissionTokens() {

return fcmTokenRepository.findAllByMemberStatus(MemberStatus.NORMAL).stream()
.filter(fcmToken -> !completedMemberIds.contains(fcmToken.getMember().getId()))
.filter(fcmToken -> fcmToken.getToken() != null)
.map(FcmToken::getToken)
.collect(Collectors.toList());
}
Expand Down

0 comments on commit 76dc4b2

Please sign in to comment.