Skip to content

Node.js based forum software built for the modern web

Revert "Send plugin `postData` changes up the line (#4875)"

Julian Lam13a2e4cc3f90
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) {