mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-07-10 13:51:33 +02:00
fix callback
This commit is contained in:
@@ -72,7 +72,7 @@ module.exports = function(Posts) {
|
||||
topics.updateTeaser(postData.tid, next);
|
||||
}
|
||||
], function(err) {
|
||||
callback(err, postData);
|
||||
next(err, postData);
|
||||
});
|
||||
}
|
||||
], callback);
|
||||
|
||||
Reference in New Issue
Block a user