13 lines
364 B
JavaScript
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);
|
|
}
|