Skip to content

Commit

Permalink
remove old unnecesary changes
Browse files Browse the repository at this point in the history
  • Loading branch information
yash-rajpal committed Jan 9, 2024
1 parent 250346b commit ea3252d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions apps/meteor/app/authorization/client/hasPermission.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,7 @@ const createPermissionValidator =
}

if (hasIsUserInRole(model)) {
const hasRole = model.isUserInRole(userId, roleId, scope);
return hasRole;
return model.isUserInRole(userId, roleId, scope);
}

return undefined;
Expand Down

0 comments on commit ea3252d

Please sign in to comment.