this is honestly silly
This commit is contained in:
parent
052386a4a7
commit
8145711871
1 changed files with 1 additions and 1 deletions
|
@ -206,7 +206,7 @@ let userRoles = async ({user}) => {
|
|||
user
|
||||
]);
|
||||
|
||||
return roles.filter((elem,i) => ((rolesLocal % 1<<(i+1)) > ((1<<i) - 1)) );
|
||||
return roles.filter((elem,i) => ((rolesLocal % (1<<(i+1))) > ((1<<i) - 1)) );
|
||||
};
|
||||
|
||||
backend.userGet = async ({user}) => {
|
||||
|
|
Loading…
Reference in a new issue