From fab9962dd52f40e62b108f8411ce8dc888cfb1f2 Mon Sep 17 00:00:00 2001 From: Dhirender Singh Date: Fri, 26 Jul 2024 15:09:14 +0200 Subject: [PATCH] added Singleton Errormessage service to resolve the error details --- src/marketplace/Apps.Service/Program.cs | 1 + src/marketplace/Services.Service/Program.cs | 1 + 2 files changed, 2 insertions(+) diff --git a/src/marketplace/Apps.Service/Program.cs b/src/marketplace/Apps.Service/Program.cs index 115a990021..a2be778650 100644 --- a/src/marketplace/Apps.Service/Program.cs +++ b/src/marketplace/Apps.Service/Program.cs @@ -50,6 +50,7 @@ await WebAppHelper .AddTransient() .AddTransient() .AddTransient() + .AddSingleton() .AddSingleton() .AddTechnicalUserProfile() .ConfigureAppsSettings(builder.Configuration.GetSection("AppMarketPlace")) diff --git a/src/marketplace/Services.Service/Program.cs b/src/marketplace/Services.Service/Program.cs index a3def391ee..3ed8f2ef65 100644 --- a/src/marketplace/Services.Service/Program.cs +++ b/src/marketplace/Services.Service/Program.cs @@ -50,6 +50,7 @@ await WebAppHelper .AddServiceBusinessLogic(builder.Configuration) .AddTransient() .AddTransient() + .AddSingleton() .AddSingleton() .AddTechnicalUserProfile() .AddOfferDocumentServices();