Skip to content

Commit 1fe7443

Browse files
authored
fix(backend): Add missing url property to Invitation object (#4076)
1 parent cd490b6 commit 1fe7443

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

.changeset/good-snakes-confess.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@clerk/backend": patch
3+
---
4+
5+
Add url property to the Invitation object

packages/backend/src/api/resources/Invitation.ts

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ export class Invitation {
99
readonly createdAt: number,
1010
readonly updatedAt: number,
1111
readonly status: InvitationStatus,
12+
readonly url?: string,
1213
readonly revoked?: boolean,
1314
) {}
1415

@@ -20,6 +21,7 @@ export class Invitation {
2021
data.created_at,
2122
data.updated_at,
2223
data.status,
24+
data.url,
2325
data.revoked,
2426
);
2527
}

0 commit comments

Comments
 (0)