Binato/server/util/getUserByToken.js

3 lines
No EOL
74 B
JavaScript

module.exports = function(token) {
return global.users.getByKey(token);
}