bigbluebutton-Github/bigbluebutton-html5/imports/api/1.1/slides/server/methods.js

9 lines
286 B
JavaScript
Raw Normal View History

2016-10-21 19:41:17 +08:00
import { Meteor } from 'meteor/meteor';
2017-06-01 01:54:43 +08:00
import mapToAcl from '/imports/startup/mapToAcl';
2017-06-06 03:12:06 +08:00
import switchSlide from './methods/switchSlide';
2016-10-21 19:41:17 +08:00
2017-06-06 00:40:36 +08:00
Meteor.methods(mapToAcl(['methods.switchSlide', 'methods.switchSlideMessage'], {
2016-10-21 19:41:17 +08:00
switchSlide,
switchSlideMessage: switchSlide, // legacy
2017-06-01 01:54:43 +08:00
}));