From 20b005d409a970956b7d4f3cd846d0a4e09b006a Mon Sep 17 00:00:00 2001 From: mikekks Date: Thu, 12 Dec 2024 15:01:05 +0900 Subject: [PATCH] =?UTF-8?q?chore(MeetingV2GetMeetingByIdResponseDto):=20Me?= =?UTF-8?q?eting=20=EC=83=9D=EC=84=B1=EC=9E=90=20=EB=B3=80=EA=B2=BD?= =?UTF-8?q?=EC=97=86=EC=9D=B4=20=ED=95=98=EA=B8=B0=20=EC=9C=84=ED=95=B4=20?= =?UTF-8?q?=EB=AA=A8=EC=9E=84=20id=20=EB=B0=98=ED=99=98=20=EB=B0=A9?= =?UTF-8?q?=EC=8B=9D=EC=9D=84=20=EB=B3=80=EA=B2=BD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../v2/dto/response/MeetingV2GetMeetingByIdResponseDto.java | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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(),