no need to get signature and custom profile info

This commit is contained in:
barisusakli
2014-03-22 21:04:53 -04:00
parent fdc6b004c5
commit 36dc086470

View File

@@ -284,8 +284,12 @@ var db = require('./database'),
async.parallel([
function(next) {
Posts.addUserInfoToPost(post, function() {
next(null, post);
user.getUserFields(post.uid, ['username', 'userslug', 'picture'], function(err, userData) {
if (err) {
return next(err);
}
post.user = userData;
next();
});
},
function(next) {