bigbluebutton-Github/bigbluebutton-html5/imports/api/presentations/server/handlers/presentationRemove.js

14 lines
372 B
JavaScript
Raw Normal View History

2016-11-12 03:02:46 +08:00
import { check } from 'meteor/check';
import removePresentation from '../modifiers/removePresentation';
2017-10-12 08:40:51 +08:00
export default function handlePresentationRemove({ body }, meetingId) {
const { podId, presentationId } = body;
2016-11-12 03:02:46 +08:00
check(meetingId, String);
2019-02-12 07:02:32 +08:00
check(podId, String);
2016-11-12 03:02:46 +08:00
check(presentationId, String);
return removePresentation(meetingId, podId, presentationId);
2017-06-03 03:25:02 +08:00
}