Skip to content

Commit

Permalink
Merge pull request #189 from 9uttery/fix/#185
Browse files Browse the repository at this point in the history
[Fix] 소확행 미실천 알림 문구 수정
  • Loading branch information
mingeun0507 authored May 6, 2024
2 parents e488f0a + e5ddbc5 commit 93b2f11
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -52,10 +52,10 @@ public static List<Notification> createBulk(List<User> users, String title, Stri
.toList();
}

public static List<Notification> createdBulkFormatted(List<User> users, String title, String formattedContents) {
public static List<Notification> createdBulkFormatted(List<User> users, String formattedTitle, String contents) {
return users.stream()
.filter(User::hasProfile)
.map(user -> new Notification(user, title, String.format(formattedContents, user.getNickname()), false))
.map(user -> new Notification(user, String.format(formattedTitle, user.getNickname()), contents, false))
.toList();
}

Expand Down

0 comments on commit 93b2f11

Please sign in to comment.