1
0
mirror of https://github.com/bitwarden/browser.git synced 2024-11-24 12:06:15 +01:00

fix UsingInAppPurchase mapping

This commit is contained in:
Kyle Spearrin 2019-09-24 16:03:25 -04:00
parent 6b82cd0380
commit 971e19335f

View File

@ -17,7 +17,7 @@ export class SubscriptionResponse extends BaseResponse {
this.maxStorageGb = this.getResponseProperty('MaxStorageGb');
this.license = this.getResponseProperty('License');
this.expiration = this.getResponseProperty('Expiration');
this.usingInAppPurchase = this.getResponseProperty('UpcomingInvoice');
this.usingInAppPurchase = this.getResponseProperty('UsingInAppPurchase');
const subscription = this.getResponseProperty('Subscription');
const upcomingInvoice = this.getResponseProperty('UpcomingInvoice');
this.subscription = subscription == null ? null : new BillingSubscriptionResponse(subscription);