Skip to content

Commit

Permalink
#270 [feat] meeting service prefer time 생성 및 반환 코드 수정
Browse files Browse the repository at this point in the history
  • Loading branch information
sohyundoh committed Jul 22, 2024
1 parent a1477d6 commit 6a47a90
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/main/java/com/asap/server/service/MeetingService.java
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,6 @@ public class MeetingService {
private final MeetingRepository meetingRepository;
private final UserService userService;
private final AvailableDateService availableDateService;
private final PreferTimeService preferTimeService;
private final JwtService jwtService;
private final MeetingTimeRecommendService meetingTimeRecommendService;
private final TimeBlockRepository timeBlockRepository;
Expand All @@ -72,7 +71,6 @@ public MeetingSaveResponseDto create(final MeetingSaveRequestDto meetingSaveRequ

User host = userService.createUser(meeting, meetingSaveRequestDto.name(), Role.HOST);

preferTimeService.create(meeting, meetingSaveRequestDto.preferTimes());
availableDateService.create(meeting, meetingSaveRequestDto.availableDates());

meeting.setHost(host);
Expand Down Expand Up @@ -122,7 +120,6 @@ public MeetingScheduleResponseDto getMeetingSchedule(Long meetingId) {
.place(meeting.getPlace().getPlaceType())
.placeDetail(meeting.getPlace().getPlaceDetail())
.availableDates(availableDateService.getAvailableDates(meeting))
.preferTimes(preferTimeService.getPreferTimes(meeting))
.build();
}

Expand Down

0 comments on commit 6a47a90

Please sign in to comment.