bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/handlers/changeRole.js
2017-10-06 11:12:33 -07:00

10 lines
242 B
JavaScript

import { check } from 'meteor/check';
import changeRole from '../modifiers/changeRole';
export default function handleChangeRole({ body }, meetingId) {
check(body, Object);
check(meetingId, String);
changeRole({ body }, meetingId);
}