This commit is contained in:
Baris Usakli
2018-12-05 11:22:44 -05:00
parent c0e015e1c5
commit d3c6cba33f
2 changed files with 10 additions and 1 deletions

View File

@@ -101,7 +101,7 @@ Categories.getAllCidsFromSet = function (key, callback) {
Categories.getAllCategories = function (uid, callback) {
async.waterfall([
function (next) {
Categories.getAllCids(next);
Categories.getAllCidsFromSet('categories:cid', next);
},
function (cids, next) {
Categories.getCategories(cids, uid, next);