Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/spotty-terms-heal.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@clerk/backend': patch
---

fix: correct `createInvitationBulk` return type to `Promise<Invitation[]>`
2 changes: 1 addition & 1 deletion packages/backend/src/api/endpoints/InvitationApi.ts
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export class InvitationAPI extends AbstractAPI {
}

public async createInvitationBulk(params: CreateBulkParams) {
return this.request<Invitation>({
return this.request<Invitation[]>({
method: 'POST',
path: joinPaths(basePath, 'bulk'),
bodyParams: params,
Expand Down