Skip to content

Commit

Permalink
🐛 fix: 유저 이름을 이벤트 이름으로 설정
Browse files Browse the repository at this point in the history
  • Loading branch information
woosung1223 committed Sep 30, 2024
1 parent a0b7431 commit ce2cde0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ private static List<Event> generatePeriodicalBirthdayEvents(User user) {

for (int yearAfter = 1; yearAfter <= PERIOD_UPPER_BOUND; yearAfter++) {
LocalDate birthdayYearAfter = birthday.plus(yearAfter, ChronoUnit.YEARS);
events.add(new Event("생일", birthdayYearAfter, EventType.BIRTHDAY,
events.add(new Event(user.getName(), birthdayYearAfter, EventType.BIRTHDAY,
"오늘 생일이에요!", user));
}
return events;
Expand Down

0 comments on commit ce2cde0

Please sign in to comment.