bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/handlers/meetingCreation.js
2016-10-21 16:27:47 +00:00

12 lines
306 B
JavaScript

import { check } from 'meteor/check';
import Logger from '/imports/startup/server/logger';
import addMeeting from '../modifiers/addMeeting';
export default function handleMeetingCreation({ payload }) {
const meetingId = payload.meeting_id;
check(meetingId, String);
return addMeeting(payload);
};