mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 23:15:48 +01:00
closes #2009
This commit is contained in:
@@ -24,7 +24,7 @@ SocketCategories.getRecentReplies = function(socket, cid, callback) {
|
|||||||
};
|
};
|
||||||
|
|
||||||
SocketCategories.get = function(socket, data, callback) {
|
SocketCategories.get = function(socket, data, callback) {
|
||||||
categories.getAllCategories(callback);
|
categories.getCategoriesByPrivilege(socket.uid, 'find', callback);
|
||||||
};
|
};
|
||||||
|
|
||||||
SocketCategories.loadMore = function(socket, data, callback) {
|
SocketCategories.loadMore = function(socket, data, callback) {
|
||||||
|
|||||||
Reference in New Issue
Block a user