18 lines
640 B
JavaScript
18 lines
640 B
JavaScript
import { Meteor } from 'meteor/meteor';
|
|
import mapToAcl from '/imports/startup/mapToAcl';
|
|
import userLogout from './methods/userLogout';
|
|
import validateAuthToken from './methods/validateAuthToken';
|
|
import setEmojiStatus from './methods/setEmojiStatus';
|
|
import assignPresenter from './methods/assignPresenter';
|
|
import listenOnlyToggle from './methods/listenOnlyToggle';
|
|
|
|
Meteor.methods(mapToAcl(['methods.userLogout', 'methods.setEmojiStatus', 'methods.assignPresenter', 'methods.listenOnlyToggle',
|
|
], {
|
|
userLogout,
|
|
setEmojiStatus,
|
|
assignPresenter,
|
|
listenOnlyToggle,
|
|
}));
|
|
|
|
Meteor.methods({ validateAuthToken2x: validateAuthToken });
|