mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
closes #2585
This commit is contained in:
@@ -34,7 +34,7 @@ var winston = require('winston'),
|
|||||||
},
|
},
|
||||||
function(postData, next) {
|
function(postData, next) {
|
||||||
postData.content = data.content;
|
postData.content = data.content;
|
||||||
plugins.fireHook('filter:post.save', postData, next);
|
plugins.fireHook('filter:post.edit', {post: postData, uid: data.uid}, next);
|
||||||
}
|
}
|
||||||
], function(err, postData) {
|
], function(err, postData) {
|
||||||
if (err) {
|
if (err) {
|
||||||
|
|||||||
Reference in New Issue
Block a user