bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/methods.js
2017-07-13 10:15:42 -03:00

14 lines
430 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';
Meteor.methods(mapToAcl(['methods.userLogout', 'methods.setEmojiStatus',
], {
userLogout,
setEmojiStatus,
}));
Meteor.methods({ validateAuthToken2x: validateAuthToken });