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

16 lines
317 B
JavaScript
Raw Normal View History

import deleteSession from '/imports/api/pads/server/modifiers/deleteSession';
export default async function sessionDeleted({ header, body }) {
const {
meetingId,
} = header;
const {
externalId,
userId,
sessionId,
} = body;
await deleteSession(meetingId, externalId, userId, sessionId);
}