Skip to content

Commit

Permalink
Merge pull request #56 from lee1684/feature/diary-backend
Browse files Browse the repository at this point in the history
fix: MemberMeeting 생성 중 null 에러 수정
  • Loading branch information
SyingSHY authored May 26, 2024
2 parents b3649fc + b8f573d commit 313c086
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ public void changeAttendanceFalse() {
public void changeAttendance(boolean attendance) { this.attendance = attendance; }

public static MemberMeeting createMemberMeeting(Member member, Meeting meeting) throws BadRequestException {
Diary diary = Diary.createDiary("제목을 작성해보세요.", null, "일기를 작성해보세요.");
Diary diary = Diary.createDiary("제목을 작성해보세요.", new ArrayList<>(), "일기를 작성해보세요.");
MemberMeeting memberMeeting = MemberMeeting.builder().build();
memberMeeting.joinMember(member);
memberMeeting.joinMeeting(meeting);
Expand Down

0 comments on commit 313c086

Please sign in to comment.