From 971e19335f66ac64845b65a7bcf688811f60eaff Mon Sep 17 00:00:00 2001 From: Kyle Spearrin Date: Tue, 24 Sep 2019 16:03:25 -0400 Subject: [PATCH] fix UsingInAppPurchase mapping --- src/models/response/subscriptionResponse.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/models/response/subscriptionResponse.ts b/src/models/response/subscriptionResponse.ts index d7915932a1..df2581ceab 100644 --- a/src/models/response/subscriptionResponse.ts +++ b/src/models/response/subscriptionResponse.ts @@ -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);