bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/handlers/breakoutClosed.js
2018-10-23 14:27:48 -03:00

10 lines
254 B
JavaScript

import { check } from 'meteor/check';
import clearBreakouts from '../modifiers/clearBreakouts';
export default function handleBreakoutClosed({ body }) {
const { breakoutId } = body;
check(breakoutId, String);
return clearBreakouts(breakoutId);
}