From 68595958dd4ae868d9fd3fff1a8e09d8214a6ada Mon Sep 17 00:00:00 2001 From: Rick Anderson <3605364+Rick-Anderson@users.noreply.github.com> Date: Thu, 1 Jun 2023 16:49:22 -1000 Subject: [PATCH] fix (#157) --- security/authorization/AuthRequirementsData/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/security/authorization/AuthRequirementsData/Program.cs b/security/authorization/AuthRequirementsData/Program.cs index d449672..86031fd 100644 --- a/security/authorization/AuthRequirementsData/Program.cs +++ b/security/authorization/AuthRequirementsData/Program.cs @@ -5,8 +5,8 @@ var builder = WebApplication.CreateBuilder(); builder.Services.AddAuthentication().AddJwtBearer(); builder.Services.AddAuthorization(); -builder.Services.AddSingleton(); builder.Services.AddControllers(); +builder.Services.AddSingleton(); var app = builder.Build();