1
0
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:
Kyle Spearrin 2017-12-04 09:32:42 -05:00
parent 635db35347
commit bcd8a06994

View File

@ -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)