backport getRecentTopicReplies fix

This commit is contained in:
Barış Soner Uşaklı
2016-01-10 11:02:11 +02:00
parent b0e3cfcd6d
commit a9659de87e

View File

@@ -32,7 +32,7 @@ module.exports = function(Categories) {
Categories.getRecentTopicReplies = function(categoryData, uid, callback) {
if (!Array.isArray(categoryData) || !categoryData.length) {
return callback(null, []);
return callback();
}
async.waterfall([