bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/userLeftFlagUpdated.js
2023-03-20 16:35:52 -03:00

14 lines
329 B
JavaScript

import { check } from 'meteor/check';
import userLeftFlag from '../modifiers/userLeftFlagUpdated';
export default async function handleUserLeftFlag({ body }, meetingId) {
const user = body;
check(user, {
intId: String,
userLeftFlag: Boolean,
});
await userLeftFlag(meetingId, user.intId, user.userLeftFlag);
}