From b7f55e8453b7acae994963523691ff3b8d3d4707 Mon Sep 17 00:00:00 2001 From: barisusakli Date: Thu, 25 Dec 2014 15:57:37 -0500 Subject: [PATCH] fix tests --- src/categories/topics.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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