bigbluebutton-Github/bigbluebutton-html5/imports/api/breakouts/server/handlers/breakoutClosed.js
2023-03-01 13:38:40 -03:00

10 lines
290 B
JavaScript

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