mirror of
https://github.com/bitwarden/server.git
synced 2025-07-14 22:27:32 -05:00
Changing seat count for validating secrets manager. (#6035)
This commit is contained in:
@ -63,9 +63,12 @@ public class InviteOrganizationUsersValidator(
|
||||
{
|
||||
try
|
||||
{
|
||||
var organization = await organizationRepository.GetByIdAsync(request.InviteOrganization.OrganizationId);
|
||||
|
||||
organization!.Seats = subscriptionUpdate.UpdatedSeatTotal;
|
||||
|
||||
var smSubscriptionUpdate = new SecretsManagerSubscriptionUpdate(
|
||||
organization: await organizationRepository.GetByIdAsync(request.InviteOrganization.OrganizationId),
|
||||
organization: organization,
|
||||
plan: request.InviteOrganization.Plan,
|
||||
autoscaling: true);
|
||||
|
||||
|
Reference in New Issue
Block a user