Skip to content

Commit 2ed1d8c

Browse files
committed
update: make undefined from nulls.
1 parent 731209d commit 2ed1d8c

3 files changed

Lines changed: 3 additions & 2 deletions

File tree

src/lib/sdk/billing.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -628,6 +628,7 @@ export class Billing {
628628
budget,
629629
taxId
630630
};
631+
631632
const uri = new URL(this.client.config.endpoint + path);
632633
return await this.client.call(
633634
'patch',

src/routes/(console)/apply-credit/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@
148148
selectedOrg.$id,
149149
billingPlan,
150150
paymentMethodId,
151-
null,
151+
undefined,
152152
couponData.code ? couponData.code : null,
153153
collaborators
154154
);

src/routes/(console)/organization-[organization]/change-plan/+page.svelte

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@
253253
data.organization.$id,
254254
selectedPlan,
255255
paymentMethodId,
256-
null,
256+
undefined,
257257
selectedCoupon?.code,
258258
newCollaborators,
259259
billingBudget,

0 commit comments

Comments
 (0)