bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/changeRole.js
2017-10-11 18:09:35 -07:00

10 lines
248 B
JavaScript

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