mirror of
https://github.com/bitwarden/browser.git
synced 2025-02-26 03:01:53 +01:00
make billing expiration a date object
This commit is contained in:
parent
a26527b500
commit
370952971a
@ -27,6 +27,6 @@ export class OrganizationBillingResponse extends OrganizationResponse {
|
|||||||
if (response.Charges != null) {
|
if (response.Charges != null) {
|
||||||
this.charges = response.Charges.map((c: any) => new BillingChargeResponse(c));
|
this.charges = response.Charges.map((c: any) => new BillingChargeResponse(c));
|
||||||
}
|
}
|
||||||
this.expiration = response.Expiration;
|
this.expiration = new Date(response.Expiration);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user