From 57d33b43086913a7a948f5da459d159570190a55 Mon Sep 17 00:00:00 2001 From: Mario Jerkovic Date: Thu, 29 Jan 2026 15:46:37 +0100 Subject: [PATCH] =?UTF-8?q?fix(backend):=20correct=20`createInvitationBulk?= =?UTF-8?q?`=20return=20type=20to=20`Promise<=E2=80=A6=20(#7136)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit (cherry picked from commit a00d75a548cd5e6cce3280a5f898ca70e809af38) --- .changeset/spotty-terms-heal.md | 5 +++++ packages/backend/src/api/endpoints/InvitationApi.ts | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) create mode 100644 .changeset/spotty-terms-heal.md diff --git a/.changeset/spotty-terms-heal.md b/.changeset/spotty-terms-heal.md new file mode 100644 index 00000000000..3d1b355f208 --- /dev/null +++ b/.changeset/spotty-terms-heal.md @@ -0,0 +1,5 @@ +--- +'@clerk/backend': patch +--- + +fix: correct `createInvitationBulk` return type to `Promise` diff --git a/packages/backend/src/api/endpoints/InvitationApi.ts b/packages/backend/src/api/endpoints/InvitationApi.ts index f869234ec99..40ecebd9e86 100644 --- a/packages/backend/src/api/endpoints/InvitationApi.ts +++ b/packages/backend/src/api/endpoints/InvitationApi.ts @@ -67,7 +67,7 @@ export class InvitationAPI extends AbstractAPI { } public async createInvitationBulk(params: CreateBulkParams) { - return this.request({ + return this.request({ method: 'POST', path: joinPaths(basePath, 'bulk'), bodyParams: params,