Skip to content

Commit

Permalink
[AC-1418] Add missing SecretsManagerPlan property to OrganizationResp…
Browse files Browse the repository at this point in the history
…onseModel (#3055)
  • Loading branch information
shane-melton committed Jul 3, 2023
1 parent 46b2260 commit 6c0c9c6
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@ public OrganizationResponseModel(Organization organization, string obj = "organi
BusinessTaxNumber = organization.BusinessTaxNumber;
BillingEmail = organization.BillingEmail;
Plan = new PlanResponseModel(StaticStore.PasswordManagerPlans.FirstOrDefault(plan => plan.Type == organization.PlanType));
SecretsManagerPlan = new PlanResponseModel(StaticStore.SecretManagerPlans.FirstOrDefault(plan => plan.Type == organization.PlanType));
PlanType = organization.PlanType;
Seats = organization.Seats;
MaxAutoscaleSeats = organization.MaxAutoscaleSeats;
Expand Down Expand Up @@ -65,6 +66,7 @@ public OrganizationResponseModel(Organization organization, string obj = "organi
public string BusinessTaxNumber { get; set; }
public string BillingEmail { get; set; }
public PlanResponseModel Plan { get; set; }
public PlanResponseModel SecretsManagerPlan { get; set; }
public PlanType PlanType { get; set; }
public int? Seats { get; set; }
public int? MaxAutoscaleSeats { get; set; } = null;
Expand Down

0 comments on commit 6c0c9c6

Please sign in to comment.