11 lines
264 B
JavaScript
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);
|
|
}
|