fix callback

v1.18.x
barisusakli 10 years ago
parent 5a8aafb64e
commit 6f046af34b

@ -72,7 +72,7 @@ module.exports = function(Posts) {
topics.updateTeaser(postData.tid, next); topics.updateTeaser(postData.tid, next);
} }
], function(err) { ], function(err) {
callback(err, postData); next(err, postData);
}); });
} }
], callback); ], callback);

Loading…
Cancel
Save