From 5544012a8b6cf3fe1e66ea66b6a6fc592e38f803 Mon Sep 17 00:00:00 2001 From: samlbest Date: Thu, 2 Nov 2023 19:35:54 -0500 Subject: [PATCH] Add filter attribute to controllers --- src/Api/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Api/Program.cs b/src/Api/Program.cs index 588fe20..53fafca 100644 --- a/src/Api/Program.cs +++ b/src/Api/Program.cs @@ -6,7 +6,7 @@ // Add services to the container. -builder.Services.AddControllers(); +builder.Services.AddControllers(options => options.Filters.Add()); builder.Services.AddEndpointsApiExplorer();