From 080c2ac2a071e15898e092e39b3537243986475d Mon Sep 17 00:00:00 2001 From: TekH Date: Tue, 21 Jul 2026 16:52:32 +0200 Subject: [PATCH] refactor(api): Pass IConfiguration to AddApplication - Update AddApplication call with builder.Configuration parameter - Required for license key reading from appsettings.json --- DocumentOperator.API/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DocumentOperator.API/Program.cs b/DocumentOperator.API/Program.cs index 5492a1f..28de095 100644 --- a/DocumentOperator.API/Program.cs +++ b/DocumentOperator.API/Program.cs @@ -44,7 +44,7 @@ try // ======================================== // 3. Services (Clean Architecture Layers) // ======================================== - builder.Services.AddApplication(); // Application Layer (MediatR, FluentValidation, Behaviors) + builder.Services.AddApplication(builder.Configuration); // Application Layer (MediatR, FluentValidation, Behaviors) builder.Services.AddInfrastructure(); // Infrastructure Layer (DevExpress, Services) builder.Services.AddControllers(); // Controllers (Controller-based API)