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

10 lines
242 B
JavaScript
Raw Normal View History

2017-10-07 02:12:33 +08:00
import { check } from 'meteor/check';
import changeRole from '../modifiers/changeRole';
export default function handleChangeRole({ body }, meetingId) {
2017-10-07 02:12:33 +08:00
check(body, Object);
check(meetingId, String);
changeRole({ body }, meetingId);
}