bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/handlers/meetingDestruction.js
2018-02-07 14:57:34 -08:00

11 lines
294 B
JavaScript

import RedisPubSub from '/imports/startup/server/redis';
import { check } from 'meteor/check';
export default function handleMeetingDestruction({ body }) {
check(body, Object);
const { meetingId } = body;
check(meetingId, String);
return RedisPubSub.destroyMeetingQueue(meetingId);
}