This commit is contained in:
andrei-mihnea-cerbu
2024-04-08 01:03:59 +03:00
parent b48d5ee19e
commit 61a55fa735
50 changed files with 80 additions and 52 deletions
+1 -1
View File
@@ -51,7 +51,7 @@ app.UseAuthorization();
app.MapControllers();
// Middlewares
app.UseMiddleware<ApiKeyValidationMiddleware>();
app.UseMiddleware<ApiKeyMiddleware>();
app.UseMiddleware<BodyCheckMiddleware>();
using (var scope = app.Services.CreateScope())