Skip to content

Commit

Permalink
Merge pull request #886 from JulianKniephoff/type-create-policy
Browse files Browse the repository at this point in the history
Properly type `createPolicy`
  • Loading branch information
Arnei authored Sep 5, 2024
2 parents b9e38a4 + e9a3826 commit 5074440
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/utils/resourceUtils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -582,7 +582,7 @@ export const buildThemeBody = (values: {
};

// creates an empty policy with the role from the argument
export const createPolicy = (role: string) => {
export const createPolicy = (role: string): TransformedAcl => {
return {
role: role,
read: false,
Expand Down

0 comments on commit 5074440

Please sign in to comment.