adding uid to filter:category.topics.get

This commit is contained in:
psychobunny
2014-11-14 16:34:34 -05:00
parent abe887f557
commit 1e453140d9

View File

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