diff --git a/Directory.Packages.props b/Directory.Packages.props
index 3cbfdec57e..7b42434d99 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 4b4b7100de..43f43154cf 100644
--- a/src/modules/Elsa.Webhooks/Features/WebhooksFeature.cs
+++ b/src/modules/Elsa.Webhooks/Features/WebhooksFeature.cs
@@ -18,6 +18,7 @@ public WebhooksFeature(IModule module) : base(module)
}
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 override void Configure()
public override void Apply()
{
Services
- .AddWebhooksCore()
+ .AddWebhooksCore(ConfigureHttpClient)
.AddActivityProvider();
}
}
\ No newline at end of file