diff --git a/src/posts/create.js b/src/posts/create.js index e42dff0f24..e84fdaaf3d 100644 --- a/src/posts/create.js +++ b/src/posts/create.js @@ -58,8 +58,7 @@ module.exports = function(Posts) { plugins.fireHook('filter:post.save', postData, next); }, - function(_postData, next) { - postData = _postData; + function(postData, next) { db.setObject('post:' + postData.pid, postData, next); }, function(next) {