mirror of
https://github.com/spacebarchat/server.git
synced 2026-09-25 09:05:16 +00:00
Fix admin api service resolution stuff
This commit is contained in:
@@ -30,7 +30,7 @@ builder.Services.AddDbContextPool<SpacebarDbContext>(options => {
|
||||
.UseNpgsql(builder.Configuration.GetConnectionString("Spacebar"))
|
||||
.EnableDetailedErrors();
|
||||
});
|
||||
builder.Services.AddScoped<SpacebarAuthenticationConfiguration>();
|
||||
builder.Services.AddSingleton<SpacebarAuthenticationConfiguration>();
|
||||
builder.Services.AddScoped<SpacebarAuthenticationService>();
|
||||
builder.Services.AddScoped<SpacebarAspNetAuthenticationService>();
|
||||
// builder.Services.AddSingleton<RabbitMQConfiguration>();
|
||||
|
||||
Reference in New Issue
Block a user