-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
delete interview scheduled meeting #232 #245
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,6 +71,8 @@ export const fetchMeetingById = async (meetingId: string) => { | |
export const deleteMeetingPermanently = (meetingId: string) => { | ||
if (meetingId) { | ||
return MeetingModel.findByIdAndDelete(meetingId) | ||
return axios | ||
.delete(`${process.env.MS_MEETING_MANAGER_API}/api/msteams/internalmeeting/meetingId`) | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. first we have to find if a internal meeting is existed for this speciific meetingId and then call axios.delete There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Here meetingId is hardcoded. this should be dynamic |
||
.then((meeting) => { | ||
return meeting; | ||
}) | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
first, call this API then use findByIdAndDelete