dont ignore error

v1.18.x
barisusakli 10 years ago
parent e0edb71a8a
commit 8007bb0644

@ -36,9 +36,10 @@ module.exports = function(Categories) {
topics[i].index = data.start + i;
}
plugins.fireHook('filter:category.topics.get', {topics: topics, uid: data.uid}, function(err, params) {
next(null, params.topics);
});
plugins.fireHook('filter:category.topics.get', {topics: topics, uid: data.uid}, next);
},
function(results, next) {
next(null, results.topics);
}
], next);
}

Loading…
Cancel
Save