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

11 lines
285 B
JavaScript
Raw Normal View History

import { check } from 'meteor/check';
import removeGuest from '../modifiers/removeGuest';
export default function handleGuestWaitingLeft({ body }, meetingId) {
const { userId } = body;
check(meetingId, String);
check(userId, String);
return removeGuest(meetingId, userId);
}