mirror of
https://github.com/bitwarden/server.git
synced 2025-04-05 05:00:19 -05:00
Register OrganizationUpdateKeysCommand for dependency injection
This commit is contained in:
parent
67cc9ea875
commit
e5a29d40eb
@ -55,6 +55,7 @@ public static class OrganizationServiceCollectionExtensions
|
|||||||
services.AddOrganizationDomainCommandsQueries();
|
services.AddOrganizationDomainCommandsQueries();
|
||||||
services.AddOrganizationSignUpCommands();
|
services.AddOrganizationSignUpCommands();
|
||||||
services.AddOrganizationDeleteCommands();
|
services.AddOrganizationDeleteCommands();
|
||||||
|
services.AddOrganizationUpdateCommands();
|
||||||
services.AddOrganizationEnableCommands();
|
services.AddOrganizationEnableCommands();
|
||||||
services.AddOrganizationDisableCommands();
|
services.AddOrganizationDisableCommands();
|
||||||
services.AddOrganizationAuthCommands();
|
services.AddOrganizationAuthCommands();
|
||||||
@ -72,6 +73,11 @@ public static class OrganizationServiceCollectionExtensions
|
|||||||
services.AddScoped<IOrganizationInitiateDeleteCommand, OrganizationInitiateDeleteCommand>();
|
services.AddScoped<IOrganizationInitiateDeleteCommand, OrganizationInitiateDeleteCommand>();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
private static void AddOrganizationUpdateCommands(this IServiceCollection services)
|
||||||
|
{
|
||||||
|
services.AddScoped<IOrganizationUpdateKeysCommand, OrganizationUpdateKeysCommand>();
|
||||||
|
}
|
||||||
|
|
||||||
private static void AddOrganizationEnableCommands(this IServiceCollection services) =>
|
private static void AddOrganizationEnableCommands(this IServiceCollection services) =>
|
||||||
services.AddScoped<IOrganizationEnableCommand, OrganizationEnableCommand>();
|
services.AddScoped<IOrganizationEnableCommand, OrganizationEnableCommand>();
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user