diff --git a/src/Backend/DiunaBI.UI.Web/Program.cs b/src/Backend/DiunaBI.UI.Web/Program.cs index 7766bec..f74ed49 100644 --- a/src/Backend/DiunaBI.UI.Web/Program.cs +++ b/src/Backend/DiunaBI.UI.Web/Program.cs @@ -14,6 +14,8 @@ var apiBaseUrl = builder.Configuration["ApiSettings:BaseUrl"] ?? throw new InvalidOperationException("ApiSettings:BaseUrl is not configured"); builder.Services.AddSharedServices(apiBaseUrl); +builder.Services.AddScoped(); + var app = builder.Build(); if (!app.Environment.IsDevelopment())