Skip to content

Commit 1db1f40

Browse files
authoredDec 7, 2023
feat(types): Add permissions to meta field of fapi error (#2282)
1 parent 1543301 commit 1db1f40

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed
 

‎.changeset/bright-knives-jump.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@clerk/types': patch
3+
---
4+
5+
Add `permissions` to `meta` field of fapi error.

‎packages/types/src/api.ts

+1
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ export interface ClerkAPIError {
1616
message: string;
1717
}[];
1818
};
19+
permissions?: string[];
1920
};
2021
}
2122

0 commit comments

Comments
 (0)
Please sign in to comment.