bigbluebutton-Github/bigbluebutton-html5/imports/api/presentations/server/handlers/presentationRemove.js
2017-10-11 18:09:35 -07:00

13 lines
334 B
JavaScript

import { check } from 'meteor/check';
import removePresentation from '../modifiers/removePresentation';
export default function handlePresentationRemove({ body }, meetingId) {
const { presentationId } = body;
check(meetingId, String);
check(presentationId, String);
return removePresentation(meetingId, presentationId);
}