From 9a305cb42e4ca52ff35c2c6f7398785d28606e09 Mon Sep 17 00:00:00 2001 From: Arman Date: Thu, 9 May 2024 16:04:58 +0200 Subject: [PATCH] fix: make address optional --- src/lib/sdk/billing.ts | 2 +- src/routes/console/create-organization/+page.svelte | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/lib/sdk/billing.ts b/src/lib/sdk/billing.ts index 56980bc30..1036feda1 100644 --- a/src/lib/sdk/billing.ts +++ b/src/lib/sdk/billing.ts @@ -299,7 +299,7 @@ export class Billing { name: string, billingPlan: string, paymentMethodId: string, - billingAddressId: string + billingAddressId: string = undefined ): Promise { const path = `/organizations`; const params = { diff --git a/src/routes/console/create-organization/+page.svelte b/src/routes/console/create-organization/+page.svelte index 1a3da3b72..0eaba2d31 100644 --- a/src/routes/console/create-organization/+page.svelte +++ b/src/routes/console/create-organization/+page.svelte @@ -118,7 +118,7 @@ name, billingPlan, paymentMethodId, - '663a2ebf0ac1f0348a58' //TODO: change hardcoded address when it's not mandatory anymore + null ); //Add budget