Update users.js etc with global search replace, to try to fix selecting correct user.

Thanks to xet7 !
This commit is contained in:
Lauri Ojansivu 2020-06-17 20:21:44 +03:00
parent ad87f9ff4e
commit f245b6b7fa
12 changed files with 26 additions and 26 deletions

View file

@ -80,7 +80,7 @@ AT.prototype._init = function() {
return Meteor.users.find(userId, {fields: {services: 1}});
/*
if (userId) {
var user = Meteor.users.findOne(userId);
var user = Users.findOne(userId);
var services_id = _.chain(user.services)
.keys()
.reject(function(service) {return service === "resume";})