Skip to content

Commit ae77e29

Browse files
committed
feat: made options optional
1 parent 825ee51 commit ae77e29

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

src/StandardWebhooks/StandardWebhookFactory.cs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,10 +20,11 @@ public class StandardWebhookFactory : IStandardWebhookFactory
2020
/// Initializes a new instance of the <see cref="StandardWebhookFactory"/> class.
2121
/// </summary>
2222
/// <param name="signingKey">Signing key, as byte array.</param>
23-
/// <param name="webhookConfigurationOptions">Options to set custom header keys.</param>
23+
/// <param name="webhookConfigurationOptions">Options to set custom header keys. Optional,
24+
/// defaults to Standard Webhooks headers.</param>
2425
public StandardWebhookFactory(
2526
string signingKey,
26-
WebhookConfigurationOptions? webhookConfigurationOptions)
27+
WebhookConfigurationOptions? webhookConfigurationOptions = null)
2728
{
2829
_signingKey = signingKey;
2930
_webhookConfigurationOptions = webhookConfigurationOptions;

0 commit comments

Comments
 (0)