Skip to content

Commit

Permalink
fix(backend): Added missing types to create invitation (#2268) (#2287)
Browse files Browse the repository at this point in the history
* fix(backend): Added missing types to create invitation

* Update .changeset/fast-swans-smile.md

Co-authored-by: Lennart <lekoarts@gmail.com>

* fix(backend): Fixed typo

---------

Co-authored-by: Lennart <lekoarts@gmail.com>
(cherry picked from commit de6519d)

Co-authored-by: Roy Anger <roy@royanger.com>
  • Loading branch information
clerk-cookie and royanger authored Dec 7, 2023
1 parent 31ee143 commit 7ef3414
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/fast-swans-smile.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/backend': patch
---

Added missing types for `clerkClient.invitations.createInvitation`
2 changes: 2 additions & 0 deletions packages/backend/src/api/endpoints/InvitationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ type CreateParams = {
emailAddress: string;
redirectUrl?: string;
publicMetadata?: UserPublicMetadata;
notify?: boolean;
ignoreExisting?: boolean;
};

type GetInvitationListParams = {
Expand Down

0 comments on commit 7ef3414

Please sign in to comment.