mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-01-08 00:22:51 +01:00
closes #572
This commit is contained in:
@@ -410,8 +410,8 @@ var RDB = require('./redis'),
|
||||
// temporary. I don't think this call should belong here
|
||||
|
||||
function getPrivileges(next) {
|
||||
CategoryTools.privileges(category_id, current_user, function(user_privs) {
|
||||
next(null, user_privs);
|
||||
CategoryTools.privileges(category_id, current_user, function(err, user_privs) {
|
||||
next(err, user_privs);
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user