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

@@ -46,7 +46,7 @@ module.exports = function(Posts) {
async.parallel({
users: function(next) {
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture', 'icon:bgColor', 'icon:text'], next);
user.getUsersFields(uids, ['uid', 'username', 'userslug', 'picture'], next);
},
topicsAndCategories: function(next) {
getTopicAndCategories(topicKeys, next);