summary refs log tree commit diff
path: root/ModAS.Server/Program.cs
diff options
context:
space:
mode:
authorTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-23 12:07:34 +0100
committerTheArcaneBrony <myrainbowdash949@gmail.com>2023-12-23 12:07:34 +0100
commita847c172069c27fccd95fc593a1b0c630a620d4f (patch)
tree78fe3f1d20af02738421eb020cedd417b51b8305 /ModAS.Server/Program.cs
parentBasic test (diff)
downloadModAS-a847c172069c27fccd95fc593a1b0c630a620d4f.tar.xz
Transactions test
Diffstat (limited to 'ModAS.Server/Program.cs')
-rw-r--r--ModAS.Server/Program.cs4
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 => {