Skip to content

Commit

Permalink
Merge pull request #94 from OnAndOff-UMC/feat/#90
Browse files Browse the repository at this point in the history
[hotfix] : 푸시알람 2개씩 가던 오류 수정
  • Loading branch information
realisshomyang authored Feb 17, 2024
2 parents 0256f82 + 8573e97 commit 64c2ae7
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 void sendGoHomeNotificationByMinute() {
List<User> users = pushNotificationSettings.stream()
.filter(alarmSetting -> isMatchingDay(alarmSetting, today))
.map(PushNotificationSetting::getUser)
.distinct()
.toList();
users.forEach(user -> {
NotificationMessage notificationMessage = NotificationMessage.toGoHomeNotification(user);
Expand Down

0 comments on commit 64c2ae7

Please sign in to comment.