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

12 lines
256 B
JavaScript
Raw Normal View History

import { check } from 'meteor/check';
import updateVoiceUser from '../modifiers/updateVoiceUser';
2017-06-29 04:04:41 +08:00
export default function handleVoiceUpdate(meetingId, { body }) {
2017-06-22 00:54:04 +08:00
const user = body;
check(user, Object);
2017-06-22 00:54:04 +08:00
return updateVoiceUser(meetingId, user);
}