This commit is contained in:
barisusakli
2017-01-26 20:44:26 +03:00
parent 4df8832c8d
commit a143a15f5d

View File

@@ -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);