mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-30 10:35:55 +01:00
closes #1028
This commit is contained in:
@@ -215,6 +215,7 @@ SocketAdmin.categories.getPrivilegeSettings = function(socket, cid, callback) {
|
||||
};
|
||||
|
||||
SocketAdmin.categories.setGroupPrivilege = function(socket, data, callback) {
|
||||
|
||||
if(!data) {
|
||||
return callback(new Error('invalid data'));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user