1
0
mirror of https://github.com/bitwarden/browser synced 2025-12-16 16:23:44 +00:00

add the additional properties (#5743)

This commit is contained in:
cyprain-okeke
2023-07-05 17:38:02 +01:00
committed by GitHub
parent 69d601fa78
commit 20264d516c

View File

@@ -55,6 +55,8 @@ export class PlanResponse extends BaseResponse {
maxServiceAccount: number;
hasAdditionalServiceAccountOption: boolean;
maxProjects: number;
maxAdditionalServiceAccounts: number;
stripeServiceAccountPlanId: string;
constructor(response: any) {
super(response);
@@ -109,5 +111,7 @@ export class PlanResponse extends BaseResponse {
"HasAdditionalServiceAccountOption"
);
this.maxProjects = this.getResponseProperty("MaxProjects");
this.maxAdditionalServiceAccounts = this.getResponseProperty("MaxAdditionalServiceAccounts");
this.stripeServiceAccountPlanId = this.getResponseProperty("StripeServiceAccountPlanId");
}
}