diff --git a/Directory.Packages.props b/Directory.Packages.props
index 3cbfdec57..7b42434d9 100644
--- a/Directory.Packages.props
+++ b/Directory.Packages.props
@@ -100,7 +100,7 @@
-
+
diff --git a/src/modules/Elsa.Webhooks/Features/WebhooksFeature.cs b/src/modules/Elsa.Webhooks/Features/WebhooksFeature.cs
index 4b4b7100d..43f43154c 100644
--- a/src/modules/Elsa.Webhooks/Features/WebhooksFeature.cs
+++ b/src/modules/Elsa.Webhooks/Features/WebhooksFeature.cs
@@ -18,6 +18,7 @@ public class WebhooksFeature : FeatureBase
}
public Action> ConfigureSinks { get; set; } = options => { };
+ public Action ConfigureHttpClient { get; set; } = builder => { };
/// Registers the specified webhook with
public WebhooksFeature RegisterWebhookSink(Uri endpoint)
@@ -62,7 +63,7 @@ public class WebhooksFeature : FeatureBase
public override void Apply()
{
Services
- .AddWebhooksCore()
+ .AddWebhooksCore(ConfigureHttpClient)
.AddActivityProvider();
}
}
\ No newline at end of file