mirror of
https://github.com/bitwarden/server
synced 2026-01-10 04:23:31 +00:00
Revert changes to ReferenceEvent code (#3091)
* Revert changes to ReferenceEvent code This will be done in AC-1481
This commit is contained in:
@@ -284,9 +284,7 @@ public class UpgradeOrganizationPlanCommand : IUpgradeOrganizationPlanCommand
|
||||
OldPlanType = existingPasswordManagerPlan.Type,
|
||||
Seats = organization.Seats,
|
||||
Storage = organization.MaxStorageGb,
|
||||
SmSeats = organization.SmSeats,
|
||||
ServiceAccounts = organization.SmServiceAccounts,
|
||||
UseSecretsManager = organization.UseSecretsManager
|
||||
// TODO: add reference events for SmSeats and Service Accounts - see AC-1481
|
||||
});
|
||||
}
|
||||
|
||||
|
||||
@@ -481,9 +481,7 @@ public class OrganizationService : IOrganizationService
|
||||
PlanType = passwordManagerPlan.Type,
|
||||
Seats = returnValue.Item1.Seats,
|
||||
Storage = returnValue.Item1.MaxStorageGb,
|
||||
SmSeats = returnValue.Item1.SmSeats,
|
||||
ServiceAccounts = returnValue.Item1.SmServiceAccounts,
|
||||
UseSecretsManager = returnValue.Item1.UseSecretsManager
|
||||
// TODO: add reference events for SmSeats and Service Accounts - see AC-1481
|
||||
});
|
||||
return returnValue;
|
||||
}
|
||||
|
||||
@@ -52,7 +52,6 @@ public class ReferenceEvent
|
||||
|
||||
public int? Seats { get; set; }
|
||||
public int? PreviousSeats { get; set; }
|
||||
public int? PreviousServiceAccounts { get; set; }
|
||||
|
||||
public short? Storage { get; set; }
|
||||
|
||||
@@ -71,7 +70,4 @@ public class ReferenceEvent
|
||||
|
||||
public string ClientId { get; set; }
|
||||
public Version ClientVersion { get; set; }
|
||||
public int? SmSeats { get; set; }
|
||||
public int? ServiceAccounts { get; set; }
|
||||
public bool UseSecretsManager { get; set; }
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user