2017-01-18 20:53:33 +08:00
|
|
|
import { Meteor } from 'meteor/meteor';
|
2017-10-12 06:17:42 +08:00
|
|
|
import mapToAcl from '/imports/startup/mapToAcl';
|
|
|
|
import endMeeting from './methods/endMeeting';
|
2018-02-16 03:42:50 +08:00
|
|
|
import toggleRecording from './methods/toggleRecording';
|
2017-01-18 20:53:33 +08:00
|
|
|
|
2018-02-16 03:42:50 +08:00
|
|
|
Meteor.methods(mapToAcl(['methods.endMeeting', 'methods.toggleRecording'], {
|
2017-10-12 06:17:42 +08:00
|
|
|
endMeeting,
|
2018-02-16 03:42:50 +08:00
|
|
|
toggleRecording
|
2017-10-12 06:17:42 +08:00
|
|
|
}));
|