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

10 lines
248 B
JavaScript
Raw Normal View History

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