Skip to content

Commit

Permalink
[SAMBAD-176]-fix: meetingTypeIds 컴파일 에러 픽스
Browse files Browse the repository at this point in the history
  • Loading branch information
LeeHanEum committed Jul 29, 2024
1 parent 6c7dc8d commit 95f7a0c
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ public MeetingResponse getMeetingResponse(Long userId) {
}

private void addTypesToMeeting(MeetingPersistRequest request, Meeting meeting) {
List<TypesPerMeeting> types = meetingTypeRepository.findByIdIn(request.typeIds())
List<TypesPerMeeting> types = meetingTypeRepository.findByIdIn(request.meetingTypeIds())
.stream()
.map(type -> TypesPerMeeting.of(meeting, type))
.toList();
Expand All @@ -57,7 +57,7 @@ private void addTypesToMeeting(MeetingPersistRequest request, Meeting meeting) {
}

private Meeting generateMeeting(MeetingPersistRequest request) {
meetingTypeRepository.findByIdIn(request.typeIds());
meetingTypeRepository.findByIdIn(request.meetingTypeIds());
Meeting meeting = Meeting.of(request, meetingCodeGenerator.generate());
meetingRepository.save(meeting);

Expand Down

0 comments on commit 95f7a0c

Please sign in to comment.