diff --git a/src/api/services/Meeting.service.ts b/src/api/services/Meeting.service.ts index 5814ad2..7ff3246 100644 --- a/src/api/services/Meeting.service.ts +++ b/src/api/services/Meeting.service.ts @@ -71,6 +71,7 @@ export const fetchMeetingById = async (meetingId: string) => { export const deleteMeetingPermanently = async (meetingId: string) => { const meeting = await MeetingModel.findById(meetingId); + if (meeting) { return axios .delete(`${process.env.MS_MEETING_MANAGER_API}/api/msteams/internalmeeting/${meeting.meetingId}`)