1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-27 12:36:14 +01:00

make billing expiration a date object

This commit is contained in:
Kyle Spearrin 2018-08-01 16:50:34 -04:00
parent a26527b500
commit 370952971a

View File

@ -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);
}
}