mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-01 03:26:04 +01:00
forgot to return just posts array
This commit is contained in:
@@ -344,7 +344,9 @@ var async = require('async'),
|
|||||||
next(null, post);
|
next(null, post);
|
||||||
});
|
});
|
||||||
}, function(err, posts) {
|
}, 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);
|
||||||
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user