bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/handlers/removeUser.js

14 lines
304 B
JavaScript

import { check } from 'meteor/check';
import removeUser from '../modifiers/removeUser';
export default function handleRemoveUser({ header, body }) {
const { meetingId } = header;
const { intId } = body;
check(meetingId, String);
check(intId, String);
return removeUser(meetingId, intId);
}