mirror of
https://github.com/bitwarden/server
synced 2025-12-28 22:23:30 +00:00
[AC-1418] Add missing SecretsManagerPlan property to OrganizationResponseModel (#3055)
This commit is contained in:
@@ -27,6 +27,7 @@ public class OrganizationResponseModel : ResponseModel
|
||||
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;
|
||||
@@ -65,6 +66,7 @@ public class OrganizationResponseModel : ResponseModel
|
||||
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;
|
||||
|
||||
Reference in New Issue
Block a user