diff --git a/packages/api-client/src/controllers/workspace-membership.ts b/packages/api-client/src/controllers/workspace-membership.ts index 5f6f750a..720b3987 100644 --- a/packages/api-client/src/controllers/workspace-membership.ts +++ b/packages/api-client/src/controllers/workspace-membership.ts @@ -50,7 +50,7 @@ export default class WorkspaceMembershipController { ): Promise> { const response = await this.apiClient.post( `/api/workspace-membership/${request.workspaceSlug}/invite-users`, - request, + request.members, headers ) return await parseResponse(response)