mirror of
https://github.com/bitwarden/server.git
synced 2025-07-01 08:02:49 -05:00
Updated LicensingService to be a singleton again and moved IFeatureService up a frame in the call stack (#5238)
This commit is contained in:
@ -238,7 +238,7 @@ public static class ServiceCollectionExtensions
|
||||
services.AddScoped<IPaymentHistoryService, PaymentHistoryService>();
|
||||
services.AddSingleton<IStripeSyncService, StripeSyncService>();
|
||||
services.AddSingleton<IMailService, HandlebarsMailService>();
|
||||
services.AddScoped<ILicensingService, LicensingService>();
|
||||
services.AddSingleton<ILicensingService, LicensingService>();
|
||||
services.AddSingleton<ILookupClient>(_ =>
|
||||
{
|
||||
var options = new LookupClientOptions { Timeout = TimeSpan.FromSeconds(15), UseTcpOnly = true };
|
||||
|
Reference in New Issue
Block a user