v1.18.x
barisusakli 10 years ago
parent 1029b6c2f3
commit c450992882

@ -36,11 +36,12 @@ var winston = require('winston'),
postData.content = data.content; postData.content = data.content;
plugins.fireHook('filter:post.edit', {post: postData, uid: data.uid}, next); plugins.fireHook('filter:post.edit', {post: postData, uid: data.uid}, next);
} }
], function(err, data) { ], function(err, result) {
if (err) { if (err) {
return callback(err); return callback(err);
} }
var postData = data.post;
var postData = result.post;
async.parallel({ async.parallel({
post: function(next) { post: function(next) {
var d = { var d = {

Loading…
Cancel
Save