bigbluebutton-Github/bigbluebutton-html5/imports/api/presentation-pods/server/handlers/removePresentationPod.js

14 lines
347 B
JavaScript
Raw Normal View History

2018-04-06 04:56:41 +08:00
import { check } from 'meteor/check';
import removePresentationPod from '../modifiers/removePresentationPod';
export default async function handleRemovePresentationPod({ body }, meetingId) {
2018-04-06 04:56:41 +08:00
check(body, Object);
check(meetingId, String);
const { podId } = body;
check(podId, String);
await removePresentationPod(meetingId, podId);
2018-04-06 04:56:41 +08:00
}