bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/handlers/meetingEnd.js

9 lines
225 B
JavaScript

import { check } from 'meteor/check';
import removeMeeting from '../modifiers/removeMeeting';
export default function handleMeetingEnd({ body }, meetingId) {
check(meetingId, String);
return removeMeeting(meetingId);
}