Skip to content

Commit

Permalink
added toLowerCase() (#233)
Browse files Browse the repository at this point in the history
  • Loading branch information
ebauman authored Dec 10, 2024
1 parent 15d1ecc commit fc9b5db
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/data/rbac.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ export class RbacService {
this.userAccess = lastValueFrom(
this.garg.get('/access').pipe(
map((s: ServerResponse) => {
const accessSet: AccessSet = JSON.parse(atou(s.content));
const accessSet: AccessSet = JSON.parse(atou(s.content).toLowerCase()); // toLowerCase() needed. See https://github.com/hobbyfarm/hobbyfarm/issues/477
return accessSet;
}),
),
Expand Down

0 comments on commit fc9b5db

Please sign in to comment.