refactor(IHttpClientOptions): removed

This commit is contained in:
Developer 02
2024-11-25 10:42:22 +01:00
parent c65eefb954
commit 3b8b315fea
5 changed files with 8 additions and 23 deletions

View File

@@ -8,7 +8,7 @@ namespace DigitalData.Core.Client
{
public static class DIExtensions
{
public static IServiceCollection AddHttpClientService(this IServiceCollection services, IConfigurationSection? section)
public static IServiceCollection AddHttpClientService(this IServiceCollection services, IConfigurationSection? section = null)
{
services.TryAddSingleton<HttpClient>();
services.TryAddSingleton<CookieContainer>();