diff --git a/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/dto/response/MeetingV2GetMeetingByIdResponseDto.java b/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/dto/response/MeetingV2GetMeetingByIdResponseDto.java index 9a8615e8..17037d71 100644 --- a/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/dto/response/MeetingV2GetMeetingByIdResponseDto.java +++ b/main/src/main/java/org/sopt/makers/crew/main/meeting/v2/dto/response/MeetingV2GetMeetingByIdResponseDto.java @@ -8,7 +8,6 @@ import org.sopt.makers.crew.main.entity.meeting.Meeting; import org.sopt.makers.crew.main.entity.meeting.enums.MeetingJoinablePart; import org.sopt.makers.crew.main.entity.meeting.vo.ImageUrlVO; -import org.sopt.makers.crew.main.entity.user.User; import io.swagger.v3.oas.annotations.media.Schema; import jakarta.validation.constraints.NotNull; @@ -140,7 +139,7 @@ public class MeetingV2GetMeetingByIdResponseDto { @NotNull private final List appliedInfo; - public static MeetingV2GetMeetingByIdResponseDto of(Meeting meeting, List coLeaders, + public static MeetingV2GetMeetingByIdResponseDto of(Integer meetingId, Meeting meeting, List coLeaders, boolean isCoLeader, long approvedCount, Boolean isHost, Boolean isApply, Boolean isApproved, MeetingCreatorDto meetingCreatorDto, List appliedInfo, LocalDateTime now) { @@ -151,7 +150,7 @@ public static MeetingV2GetMeetingByIdResponseDto of(Meeting meeting, List MeetingV2CoLeaderResponseDto.of(coLeader.getUser())) .toList(); - return new MeetingV2GetMeetingByIdResponseDto(meeting.getId(), meeting.getUserId(), meeting.getTitle(), + return new MeetingV2GetMeetingByIdResponseDto(meetingId, meeting.getUserId(), meeting.getTitle(), meeting.getCategory().getValue(), meeting.getImageURL(), meeting.getStartDate(), meeting.getEndDate(), meeting.getCapacity(), meeting.getDesc(), meeting.getProcessDesc(), meeting.getmStartDate(), meeting.getmEndDate(), meeting.getLeaderDesc(), meeting.getNote(),