bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/handlers/guestPolicyChanged.js
Pedro Beschorner Marin af64232e45 Change guest policy
2021-03-12 09:19:22 -03:00

13 lines
298 B
JavaScript

import setGuestPolicy from '../modifiers/setGuestPolicy';
import { check } from 'meteor/check';
export default function handleGuestPolicyChanged({ body }, meetingId) {
const { policy } = body;
check(meetingId, String);
check(policy, String);
return setGuestPolicy(meetingId, policy);
}