bigbluebutton-Github/bigbluebutton-html5/imports/api/users/server/handlers/changeRaiseHand.js
2023-06-07 22:10:07 -03:00

12 lines
386 B
JavaScript

import { check } from 'meteor/check';
import changeRaiseHand from '/imports/api/users/server/modifiers/changeRaiseHand';
export default async function handleChangeRaiseHand(payload, meetingId) {
check(payload.body, Object);
check(meetingId, String);
const { userId: requesterUserId, raiseHand } = payload.body;
await changeRaiseHand(meetingId, requesterUserId, raiseHand);
}