bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/handlers/removeUser.js
2017-06-26 13:15:28 -03:00

14 lines
315 B
JavaScript

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