1
0
mirror of https://github.com/bitwarden/server.git synced 2025-05-12 23:22:18 -05:00

Register ProviderClientOrganizationSignUpCommand for dependency injection

This commit is contained in:
Rui Tome 2025-05-02 15:14:23 +01:00
parent 753d1311d4
commit 062d869b1f
No known key found for this signature in database
GPG Key ID: 526239D96A8EC066

View File

@ -69,8 +69,11 @@ public static class OrganizationServiceCollectionExtensions
services.AddBaseOrganizationSubscriptionCommandsQueries();
}
private static IServiceCollection AddOrganizationSignUpCommands(this IServiceCollection services) =>
private static void AddOrganizationSignUpCommands(this IServiceCollection services)
{
services.AddScoped<ICloudOrganizationSignUpCommand, CloudOrganizationSignUpCommand>();
services.AddScoped<IProviderClientOrganizationSignUpCommand, ProviderClientOrganizationSignUpCommand>();
}
private static void AddOrganizationDeleteCommands(this IServiceCollection services)
{