bigbluebutton-Github/bigbluebutton-html5/imports/api/2.0/users/server/methods.js

14 lines
430 B
JavaScript
Raw Normal View History

2017-06-19 21:13:35 +08:00
import { Meteor } from 'meteor/meteor';
2017-07-13 21:15:42 +08:00
import mapToAcl from '/imports/startup/mapToAcl';
2017-06-19 21:13:35 +08:00
import userLogout from './methods/userLogout';
import validateAuthToken from './methods/validateAuthToken';
2017-07-13 21:15:42 +08:00
import setEmojiStatus from './methods/setEmojiStatus';
2017-06-19 21:13:35 +08:00
2017-07-13 21:15:42 +08:00
Meteor.methods(mapToAcl(['methods.userLogout', 'methods.setEmojiStatus',
], {
userLogout,
setEmojiStatus,
}));
2017-06-19 21:13:35 +08:00
Meteor.methods({ validateAuthToken2x: validateAuthToken });