bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/handlers/voiceUpdate.js
2017-06-28 16:04:41 -04:00

12 lines
256 B
JavaScript

import { check } from 'meteor/check';
import updateVoiceUser from '../modifiers/updateVoiceUser';
export default function handleVoiceUpdate(meetingId, { body }) {
const user = body;
check(user, Object);
return updateVoiceUser(meetingId, user);
}