Skip to content

Commit

Permalink
feat(types): Add permissions to meta field of fapi error (#2282) (#…
Browse files Browse the repository at this point in the history
…2285)

(cherry picked from commit 1db1f40)

Co-authored-by: panteliselef <panteliselef@outlook.com>
  • Loading branch information
clerk-cookie and panteliselef authored Dec 7, 2023
1 parent 6b59735 commit 31ee143
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/bright-knives-jump.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/types': patch
---

Add `permissions` to `meta` field of fapi error.
1 change: 1 addition & 0 deletions packages/types/src/api.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export interface ClerkAPIError {
message: string;
}[];
};
permissions?: string[];
};
}

Expand Down

0 comments on commit 31ee143

Please sign in to comment.