diff options
author | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-12-23 12:07:34 +0100 |
---|---|---|
committer | TheArcaneBrony <myrainbowdash949@gmail.com> | 2023-12-23 12:07:34 +0100 |
commit | a847c172069c27fccd95fc593a1b0c630a620d4f (patch) | |
tree | 78fe3f1d20af02738421eb020cedd417b51b8305 /ModAS.Server/Program.cs | |
parent | Basic test (diff) | |
download | ModAS-a847c172069c27fccd95fc593a1b0c630a620d4f.tar.xz |
Transactions test
Diffstat (limited to 'ModAS.Server/Program.cs')
-rw-r--r-- | ModAS.Server/Program.cs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ModAS.Server/Program.cs b/ModAS.Server/Program.cs index cba8d69..da44ca8 100644 --- a/ModAS.Server/Program.cs +++ b/ModAS.Server/Program.cs @@ -29,8 +29,8 @@ builder.Services.AddSingleton<IHttpContextAccessor, HttpContextAccessor>(); builder.Services.AddSingleton<ModASConfiguration>(); -builder.Services.AddScoped<AuthenticationService>(); -builder.Services.AddScoped<AuthenticatedHomeserverProviderService>(); +builder.Services.AddSingleton<AuthenticationService>(); +builder.Services.AddSingleton<AuthenticatedHomeserverProviderService>(); // builder.Services.AddScoped<UserContextService>(); builder.Services.AddSingleton<TieredStorageService>(x => { |