Node.js based forum software built for the modern web
closes #5397
barisusaklia143a15f5d2e
diff --git a/src/posts/create.js b/src/posts/create.jsindex 3484bc424e..6cb925dc4c 100644--- a/src/posts/create.js+++ b/src/posts/create.js@@ -108,7 +108,7 @@ module.exports = function (Posts) {},function (postData, next) {postData.isMain = isMain;- plugins.fireHook('action:post.save', _.clone(postData));+ plugins.fireHook('action:post.save', {post: _.clone(postData)});next(null, postData);}], callback);