From e80610fcaad6af10546bf388b06e6250327359d0 Mon Sep 17 00:00:00 2001 From: Joe Pill Date: Tue, 11 Jun 2024 09:39:27 -0500 Subject: [PATCH] update parameter naming --- ShipEngine/ShipEngine.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ShipEngine/ShipEngine.cs b/ShipEngine/ShipEngine.cs index 3090e3b6..4b9f6ad7 100644 --- a/ShipEngine/ShipEngine.cs +++ b/ShipEngine/ShipEngine.cs @@ -11,14 +11,14 @@ namespace ShipEngineSDK { public static class ShipEngineExtensions { - public static IHostApplicationBuilder AddShipEngine(this IHostApplicationBuilder builder, Action? clientOverride = null) + public static IHostApplicationBuilder AddShipEngine(this IHostApplicationBuilder builder, Action? configureClient = null) { builder.Services.AddHttpClient(c => { var baseUri = builder.Configuration["ShipEngine:BaseUrl"] ?? "https://api.shipengine.com"; var apiKey = builder.Configuration["ShipEngine:ApiKey"]; ShipEngineClient.ConfigureHttpClient(c, apiKey, new Uri(baseUri)); - clientOverride?.Invoke(c); + configureClient?.Invoke(c); }); return builder;