diff --git a/dtos/MeetingDetailResponseDTO.js b/dtos/MeetingDetailResponseDTO.js index 5d4ac75f7dbc729ccc4235e5d27abe247ddf4c3f..c9a07edd124db0d59702cc02460122e4a9f23d40 100644 --- a/dtos/MeetingDetailResponseDTO.js +++ b/dtos/MeetingDetailResponseDTO.js @@ -1,6 +1,6 @@ // dtos/MeetingResponseDTO.js class MeetingDetailResponseDTO { - constructor(meeting) { + constructor(meeting, isScheduleConflict) { this.id = meeting.id; this.title = meeting.title; this.description = meeting.description; @@ -10,6 +10,7 @@ class MeetingDetailResponseDTO { this.time_idx_deadline = meeting.time_idx_deadline; this.type = meeting.type; this.creatorName = meeting.creator ? meeting.creator.name : 'Unknown'; + this.isScheduleConflict = isScheduleConflict; this.participants = meeting.participants.map(participant => ({ userId: participant.user_id, name: participant.participantUser ? participant.participantUser.name : 'Unknown',