Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Artur committed Jan 18, 2024
1 parent 197653c commit e9393fd
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions src/Core/Extensions/Http.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,9 +20,6 @@ internal static async Task ExecuteHttpProxyOperationAsync(this HttpContext conte

try
{
var httpClient = context.RequestServices
.GetService<IHttpClientFactory>()
.CreateClient(options?.HttpClientName ?? Helpers.HttpProxyClientName);
var clientFactory = context.RequestServices.GetService<IHttpClientFactory>()
?? throw new InvalidOperationException("IHttpClientFactory not registered. You need to add builder.Services.AddHttpClient(); during startup");

Expand Down

0 comments on commit e9393fd

Please sign in to comment.