This commit is contained in:
barisusakli
2017-04-19 12:07:37 -04:00
parent 7a0db03d99
commit 974106b7e2
2 changed files with 11 additions and 7 deletions

View File

@@ -101,7 +101,7 @@ module.exports = function (Posts) {
if (err) {
return next(err);
}
plugins.fireHook('filter:post.get', postData, next);
plugins.fireHook('filter:post.get', { post: postData, uid: data.uid }, next);
});
},
function (postData, next) {