Skip to content

Commit

Permalink
fix(backend): Add missing url property to Invitation object (#4076)
Browse files Browse the repository at this point in the history
  • Loading branch information
issuedat authored Sep 3, 2024
1 parent cd490b6 commit 1fe7443
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/good-snakes-confess.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@clerk/backend": patch
---

Add url property to the Invitation object
2 changes: 2 additions & 0 deletions packages/backend/src/api/resources/Invitation.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ export class Invitation {
readonly createdAt: number,
readonly updatedAt: number,
readonly status: InvitationStatus,
readonly url?: string,
readonly revoked?: boolean,
) {}

Expand All @@ -20,6 +21,7 @@ export class Invitation {
data.created_at,
data.updated_at,
data.status,
data.url,
data.revoked,
);
}
Expand Down

0 comments on commit 1fe7443

Please sign in to comment.