From 370952971ae5421802be97aa466492217620841d Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Wed, 1 Aug 2018 16:50:34 -0400 Subject: [PATCH] make billing expiration a date object --- src/models/response/organizationBillingResponse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/response/organizationBillingResponse.ts b/src/models/response/organizationBillingResponse.ts index db5e5ca2bba..bfc288635be 100644 --- a/src/models/response/organizationBillingResponse.ts +++ b/src/models/response/organizationBillingResponse.ts @@ -27,6 +27,6 @@ export class OrganizationBillingResponse extends OrganizationResponse { if (response.Charges != null) { this.charges = response.Charges.map((c: any) => new BillingChargeResponse(c)); } - this.expiration = response.Expiration; + this.expiration = new Date(response.Expiration); } }