diff --git a/src/categories/topics.js b/src/categories/topics.js index d778e98b39..392bed66c4 100644 --- a/src/categories/topics.js +++ b/src/categories/topics.js @@ -29,7 +29,7 @@ module.exports = function(Categories) { }, function(topics, next) { if (!Array.isArray(topics) || !topics.length) { - return next(null, []); + return next(null, {topics: [], uid: data.uid}); } for (var i=0; i