mirror of
https://github.com/bitwarden/server.git
synced 2024-11-22 12:15:36 +01:00
singleton at end
This commit is contained in:
parent
635db35347
commit
bcd8a06994
@ -56,11 +56,11 @@ namespace Bit.Core.Utilities
|
||||
{
|
||||
services.AddScoped<ICipherService, CipherService>();
|
||||
services.AddScoped<IUserService, UserService>();
|
||||
services.AddSingleton<IDeviceService, DeviceService>();
|
||||
services.AddScoped<IOrganizationService, OrganizationService>();
|
||||
services.AddScoped<ICollectionService, CollectionService>();
|
||||
services.AddScoped<IGroupService, GroupService>();
|
||||
services.AddScoped<Services.IEventService, EventService>();
|
||||
services.AddSingleton<IDeviceService, DeviceService>();
|
||||
}
|
||||
|
||||
public static void AddDefaultServices(this IServiceCollection services, GlobalSettings globalSettings)
|
||||
|
Loading…
Reference in New Issue
Block a user