forgot to return just posts array

This commit is contained in:
psychobunny
2014-09-23 14:00:28 -04:00
parent 77dfc7378b
commit 180625ece3

View File

@@ -344,7 +344,9 @@ var async = require('async'),
next(null, post);
});
}, function(err, posts) {
plugins.fireHook('filter:post.getPostSummaryByPids', {posts: posts, uid: uid}, callback);
plugins.fireHook('filter:post.getPostSummaryByPids', {posts: posts, uid: uid}, function(err, postData) {
callback(err, postData.posts);
});
});
});
});