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

12 lines
322 B
JavaScript
Raw Normal View History

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