From a87a32f9fd1094643e36b505e48e36033f1aad20 Mon Sep 17 00:00:00 2001 From: Ashen_Wijesingha <66056859+AshenWijesingha@users.noreply.github.com> Date: Wed, 4 May 2022 21:36:36 +0530 Subject: [PATCH] #232 - Request changes added --- src/api/services/Meeting.service.ts | 1 + 1 file changed, 1 insertion(+) 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}`)