From 1fe744328d126bc597e81770119796ac18e055ed Mon Sep 17 00:00:00 2001 From: issuedat <165281975+issuedat@users.noreply.github.com> Date: Tue, 3 Sep 2024 11:34:41 +0200 Subject: [PATCH] fix(backend): Add missing url property to Invitation object (#4076) --- .changeset/good-snakes-confess.md | 5 +++++ packages/backend/src/api/resources/Invitation.ts | 2 ++ 2 files changed, 7 insertions(+) create mode 100644 .changeset/good-snakes-confess.md 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, ); }