fix: make address optional

This commit is contained in:
Arman committed 2024-05-09 16:04:58 +02:00
1 parent 580d6541c2
commit 9a305cb42e
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -299,7 +299,7 @@ export class Billing {
name: string,
billingPlan: string,
paymentMethodId: string,
billingAddressId: string
billingAddressId: string = undefined
): Promise<Organization> {
const path = `/organizations`;
const params = {
@@ -118,7 +118,7 @@
name,
billingPlan,
paymentMethodId,
'663a2ebf0ac1f0348a58' //TODO: change hardcoded address when it's not mandatory anymore
null
);
//Add budget