mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-03-06 04:21:17 +01:00
filter:post.getPosts now passes in uid
This commit is contained in:
@@ -149,7 +149,7 @@ var async = require('async'),
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
plugins.fireHook('filter:post.getPosts', {posts: posts}, function(err, data) {
|
||||
plugins.fireHook('filter:post.getPosts', {posts: posts, uid: uid}, function(err, data) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user