bigbluebutton-Github/bigbluebutton-html5/imports/api/presentations/server/handlers/presentationRemove.js
2019-02-11 23:02:32 +00:00

14 lines
372 B
JavaScript

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