mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-08 06:55:46 +01:00
closes #4810
This commit is contained in:
@@ -193,7 +193,7 @@ SocketCategories.isModerator = function(socket, cid, callback) {
|
||||
};
|
||||
|
||||
SocketCategories.getCategory = function(socket, cid, callback) {
|
||||
apiController.getObjectByType(socket.uid, 'category', cid, callback);
|
||||
apiController.getCategoryData(cid, socket.uid, callback);
|
||||
};
|
||||
|
||||
module.exports = SocketCategories;
|
||||
|
||||
Reference in New Issue
Block a user