diff --git a/.changeset/good-snakes-confess.md b/.changeset/good-snakes-confess.md new file mode 100644 index 0000000000..b46cdf1b5a --- /dev/null +++ b/.changeset/good-snakes-confess.md @@ -0,0 +1,5 @@ +--- +"@clerk/backend": patch +--- + +Add url property to the Invitation object diff --git a/packages/backend/src/api/resources/Invitation.ts b/packages/backend/src/api/resources/Invitation.ts index a0aba1b9e6..e7c7a14b3d 100644 --- a/packages/backend/src/api/resources/Invitation.ts +++ b/packages/backend/src/api/resources/Invitation.ts @@ -9,6 +9,7 @@ export class Invitation { readonly createdAt: number, readonly updatedAt: number, readonly status: InvitationStatus, + readonly url?: string, readonly revoked?: boolean, ) {} @@ -20,6 +21,7 @@ export class Invitation { data.created_at, data.updated_at, data.status, + data.url, data.revoked, ); }