From 848129d745e7cb70a3fd4fe06b4b27d11f3a4160 Mon Sep 17 00:00:00 2001 From: StuartFerguson Date: Mon, 3 Aug 2026 12:10:31 +0100 Subject: [PATCH] fix: use shared http client registration --- TransactionProcessing.MerchantPos/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TransactionProcessing.MerchantPos/Program.cs b/TransactionProcessing.MerchantPos/Program.cs index 9b7f87c..c0f9531 100644 --- a/TransactionProcessing.MerchantPos/Program.cs +++ b/TransactionProcessing.MerchantPos/Program.cs @@ -61,7 +61,7 @@ builder.Services.RegisterHttpClient(); builder.Services.AddScoped(); builder.Services.AddScoped(); - builder.Services.AddHttpClient(); + builder.Services.RegisterHttpClient(); builder.Services.AddSingleton(); builder.Services.AddDbContext((sp, options) =>