diff --git a/package.json b/package.json index a34baebd..b5751801 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "@internxt/sdk", "author": "Internxt ", - "version": "1.6.2", + "version": "1.6.3", "description": "An sdk for interacting with Internxt's services", "repository": { "type": "git", diff --git a/src/drive/payments/index.ts b/src/drive/payments/index.ts index 915e7c80..21b28af3 100644 --- a/src/drive/payments/index.ts +++ b/src/drive/payments/index.ts @@ -187,10 +187,11 @@ export class Payments { return this.client.put('/subscriptions', { price_id: priceId, couponCode: couponCode, userType }, this.headers()); } - public updateWorkspaceMembers(subscriptionId: string, updatedSeats: number) { + public updateWorkspaceMembers(workspaceId: string, subscriptionId: string, updatedSeats: number) { return this.client.patch( '/business/subscription', { + workspaceId, subscriptionId, workspaceUpdatedSeats: updatedSeats, },