bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/handlers/removeUser.js
2017-06-29 10:09:11 -03:00

13 lines
275 B
JavaScript

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