This commit is contained in:
Baris Usakli
2017-05-30 14:10:12 -04:00
parent 12524b5ce4
commit d13eb52f39
9 changed files with 97 additions and 159 deletions

View File

@@ -160,12 +160,12 @@ SocketCategories.getMoveCategories = function (socket, data, callback) {
function (next) {
db.getSortedSetRange('cid:0:children', 0, -1, next);
},
function (cids, next) {
privileges.categories.filterCids('read', cids, socket.uid, next);
},
function (cids, next) {
categories.getCategories(cids, socket.uid, next);
},
function (categoriesData, next) {
categories.buildForSelectCategories(categoriesData, next);
},
], next);
},
}, next);