Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
umi0410 committed Jan 13, 2022
2 parents 1119f91 + d34e30a commit 74acc90
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ public List<Notification> createNotificationForHaksaScheduleStarts(HaksaSchedule
// Hash맵을 이용해서 한 번만 보내야겠다...
Map<String, Notification> notifications = new HashMap<>();
for (PushDevice device : devices) {
if (!usersIgnored.contains(device.getUser())) {
if (device.getUser() != null && !usersIgnored.contains(device.getUser())) {
if (!notifications.containsKey(device.getUser())) {
notifications.put(device.getUser(), notificationRepository.save(Notification.builder()
.recipient(device.getUser())
Expand Down

0 comments on commit 74acc90

Please sign in to comment.