Skip to content

Commit

Permalink
feat : 푸시알림 스케쥴링 메세지 수정 #149
Browse files Browse the repository at this point in the history
  • Loading branch information
bongsh0112 committed Jan 20, 2024
1 parent 9924baf commit 644e8b8
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -141,13 +141,14 @@ public void executeToNotAnsweredQuestionAlarm(Long questionId) {

@Async
public void executeToFriendBirthDayAlarm(List<User> expectedBirthdayUserList) {
String content = "취향에 딱 맞는 선물을 받을 확률을 올려보세요!\n티피 프로필 공유하러 가기 >";

expectedBirthdayUserList.forEach(
user -> {
String title =
String.format(
"%s님의 생일이 4일 밖에 안남았대요! ", user.getProfile().getUserName());
String content =
String.format(
"티피에서 %s님 취향저격 선물 고르러 가기 >", user.getProfile().getUserName());
userAdaptor
.queryNeighborsByUserId(user.getId())
.forEach(
Expand Down

0 comments on commit 644e8b8

Please sign in to comment.