mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-29 10:06:13 +01:00
Send plugin postData changes up the line (#4875)
This commit is contained in:
committed by
Julian Lam
parent
42fa764608
commit
20024418d9
@@ -58,7 +58,8 @@ module.exports = function(Posts) {
|
||||
|
||||
plugins.fireHook('filter:post.save', postData, next);
|
||||
},
|
||||
function(postData, next) {
|
||||
function(_postData, next) {
|
||||
postData = _postData;
|
||||
db.setObject('post:' + postData.pid, postData, next);
|
||||
},
|
||||
function(next) {
|
||||
|
||||
Reference in New Issue
Block a user