bigbluebutton-Github/bigbluebutton-html5/imports/api/meetings/server/methods.js
2018-02-15 17:42:50 -02:00

10 lines
309 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
}));