We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 832895f commit e736094Copy full SHA for e736094
lib/lithic/resources/webhooks.rb
@@ -60,7 +60,8 @@ def parse_unsafe(payload)
60
def verify_signature(payload:, headers:, secret: nil)
61
secret ||= ENV["LITHIC_WEBHOOK_SECRET"]
62
if secret.nil? || secret.empty?
63
- raise ArgumentError, "Webhook secret must be provided or set in LITHIC_WEBHOOK_SECRET environment variable"
+ raise ArgumentError,
64
+ "Webhook secret must be provided or set in LITHIC_WEBHOOK_SECRET environment variable"
65
end
66
67
begin
0 commit comments