bigbluebutton-Github/bigbluebutton-html5/imports/api/pads/server/handlers/groupCreated.js

17 lines
317 B
JavaScript

import createGroup from '/imports/api/pads/server/modifiers/createGroup';
export default async function groupCreated({ header, body }) {
const {
meetingId,
userId,
} = header;
const {
externalId,
model,
name,
} = body;
await createGroup(meetingId, userId, externalId, model, name);
}