bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/breakouts/server/handlers/createBreakout.js
2017-07-13 17:35:40 -03:00

11 lines
264 B
JavaScript

import { check } from 'meteor/check';
import addBreakout from '../modifiers/addBreakout';
export default function handleCreateBreakout({ body }) {
const { breakoutMeetingId } = body.room;
check(breakoutMeetingId, String);
return addBreakout(body.room);
}