From 40f8d4b1dcb004a9531a5d4af45f14913428ef2b Mon Sep 17 00:00:00 2001 From: Julien LEICHER Date: Mon, 21 Dec 2020 18:18:06 +0100 Subject: [PATCH] minor changes --- Apps/Api/Startup.cs | 2 +- Apps/Api/appsettings.Development.json | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Apps/Api/Startup.cs b/Apps/Api/Startup.cs index 545a609..06439a3 100644 --- a/Apps/Api/Startup.cs +++ b/Apps/Api/Startup.cs @@ -68,7 +68,7 @@ namespace Api services.AddControllers(o => { - o.Filters.Add(new AuthorizeFilter()); + o.Filters.Add(new AuthorizeFilter()); // Ou MapControllers().RequireAuthentication() }); services.AddSwaggerDocument(d => diff --git a/Apps/Api/appsettings.Development.json b/Apps/Api/appsettings.Development.json index 8983e0f..eaa8762 100644 --- a/Apps/Api/appsettings.Development.json +++ b/Apps/Api/appsettings.Development.json @@ -3,7 +3,8 @@ "LogLevel": { "Default": "Information", "Microsoft": "Warning", - "Microsoft.Hosting.Lifetime": "Information" + "Microsoft.Hosting.Lifetime": "Information", + "Microsoft.EntityFrameworkCore": "Information" } } }