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

8 lines
217 B
JavaScript
Raw Normal View History

2016-10-21 21:21:09 +08:00
import { Meteor } from 'meteor/meteor';
2017-06-30 22:26:19 +08:00
import publishVote1x from './methods/publishVote';
2017-06-01 01:54:43 +08:00
import mapToAcl from '/imports/startup/mapToAcl';
2016-10-21 21:21:09 +08:00
2017-06-06 00:40:36 +08:00
Meteor.methods(mapToAcl(['methods.publishVote'], {
2017-06-30 22:26:19 +08:00
publishVote1x,
2017-06-01 01:54:43 +08:00
}));