mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-10 07:55:46 +01:00
dont ignore error
This commit is contained in:
@@ -36,9 +36,10 @@ module.exports = function(Categories) {
|
|||||||
topics[i].index = data.start + i;
|
topics[i].index = data.start + i;
|
||||||
}
|
}
|
||||||
|
|
||||||
plugins.fireHook('filter:category.topics.get', {topics: topics, uid: data.uid}, function(err, params) {
|
plugins.fireHook('filter:category.topics.get', {topics: topics, uid: data.uid}, next);
|
||||||
next(null, params.topics);
|
},
|
||||||
});
|
function(results, next) {
|
||||||
|
next(null, results.topics);
|
||||||
}
|
}
|
||||||
], next);
|
], next);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user