Skip to content

Commit

Permalink
feat: made options optional
Browse files Browse the repository at this point in the history
  • Loading branch information
payetools committed Sep 14, 2024
1 parent 825ee51 commit ae77e29
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/StandardWebhooks/StandardWebhookFactory.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,11 @@ public class StandardWebhookFactory : IStandardWebhookFactory
/// Initializes a new instance of the <see cref="StandardWebhookFactory"/> class.
/// </summary>
/// <param name="signingKey">Signing key, as byte array.</param>
/// <param name="webhookConfigurationOptions">Options to set custom header keys.</param>
/// <param name="webhookConfigurationOptions">Options to set custom header keys. Optional,
/// defaults to Standard Webhooks headers.</param>
public StandardWebhookFactory(
string signingKey,
WebhookConfigurationOptions? webhookConfigurationOptions)
WebhookConfigurationOptions? webhookConfigurationOptions = null)
{
_signingKey = signingKey;
_webhookConfigurationOptions = webhookConfigurationOptions;
Expand Down

0 comments on commit ae77e29

Please sign in to comment.