mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-02 20:16:04 +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);
|
plugins.fireHook('filter:post.save', postData, next);
|
||||||
},
|
},
|
||||||
function(postData, next) {
|
function(_postData, next) {
|
||||||
|
postData = _postData;
|
||||||
db.setObject('post:' + postData.pid, postData, next);
|
db.setObject('post:' + postData.pid, postData, next);
|
||||||
},
|
},
|
||||||
function(next) {
|
function(next) {
|
||||||
|
|||||||
Reference in New Issue
Block a user