mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-06 14:05:46 +01:00
closes #7060
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user