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

13 lines
275 B
JavaScript
Raw Normal View History

2017-06-19 21:13:35 +08:00
import { check } from 'meteor/check';
import removeUser from '../modifiers/removeUser';
2017-06-29 21:09:11 +08:00
export default function handleRemoveUser({ body }, meetingId) {
const { intId } = body;
2017-06-19 21:13:35 +08:00
check(meetingId, String);
check(intId, String);
2017-06-19 21:13:35 +08:00
return removeUser(meetingId, intId);
2017-06-19 21:13:35 +08:00
}