bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/methods.js
2018-02-23 13:26:33 -03:00

10 lines
310 B
JavaScript

import { Meteor } from 'meteor/meteor';
import mapToAcl from '/imports/startup/mapToAcl';
import endMeeting from './methods/endMeeting';
import toggleRecording from './methods/toggleRecording';
Meteor.methods(mapToAcl(['methods.endMeeting', 'methods.toggleRecording'], {
endMeeting,
toggleRecording,
}));