removed icon:bgColor and icon:text from db calls

calculates from username on the fly
This commit is contained in:
barisusakli
2015-10-29 16:35:44 -04:00
parent d8e50f931e
commit f4bfcc7351
12 changed files with 13 additions and 30 deletions

View File

@@ -44,7 +44,7 @@ module.exports = function(Topics) {
return array.indexOf(uid) === index;
});
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture', 'icon:bgColor', 'icon:text'], next);
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture'], next);
},
function(usersData, next) {
var users = {};