11 lines
278 B
JavaScript
11 lines
278 B
JavaScript
|
import { check } from 'meteor/check';
|
||
|
import updateVoiceUser from '../modifiers/updateVoiceUser';
|
||
|
|
||
|
export default function handleFloorChange({ header, body }, meetingId) {
|
||
|
const voiceUser = body;
|
||
|
|
||
|
check(meetingId, String);
|
||
|
|
||
|
return updateVoiceUser(meetingId, voiceUser);
|
||
|
}
|