bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/handlers/createBreakout.js
2016-11-29 14:52:15 -02:00

13 lines
364 B
JavaScript

import Breakouts from '/imports/api/breakouts';
import Logger from '/imports/startup/server/logger';
import { check } from 'meteor/check';
import addBreakout from '../modifiers/addBreakout';
export default function handleCreateBreakout({ payload }) {
const { breakoutMeetingId } = payload;
check(breakoutMeetingId, String);
return addBreakout(payload);
}