From 56e002875ec93becbb3f95ed2f1e12d4ceb6dee2 Mon Sep 17 00:00:00 2001 From: Khwezi Mngoma Date: Thu, 4 Jun 2026 14:22:22 +0200 Subject: [PATCH] Fixed setup issue --- MidrandBooksApi/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/MidrandBooksApi/Program.cs b/MidrandBooksApi/Program.cs index 6fc42ac..8a39b41 100644 --- a/MidrandBooksApi/Program.cs +++ b/MidrandBooksApi/Program.cs @@ -12,7 +12,7 @@ builder.Services.AddEndpoints(Assembly.GetExecutingAssembly()); builder.Services.AddApiServices(builder.Configuration); builder.Services.AddMediator(); -builder.Services.AddAuthentic(builder.Configuration); +builder.Services.AddAuthentikApiSecurity(builder.Configuration); builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(TelemetryPipelineBehavior<,>)); builder.Services.AddScoped(typeof(IPipelineBehavior<,>), typeof(LoggingPipelineBehavior<,>)); -- 2.47.3