File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -82,7 +82,7 @@ def get_payload_request(request)
8282 begin
8383 @payload = JSON . parse @payload_raw
8484 rescue => e
85- fail " Invalid JSON (#{ e } ): #{ @payload_raw } "
85+ fail ' Invalid JSON (#{e}): #{@payload_raw}'
8686 end
8787 end
8888
@@ -127,7 +127,7 @@ def authenticate_installation(payload)
127127 # the signature sent in the `X-HUB-Signature` header. If they don't match,
128128 # this request is an attack, and you should reject it. GitHub uses the HMAC
129129 # hexdigest to compute the signature. The `X-HUB-Signature` looks something
130- # like this: " sha1=123456" .
130+ # like this: ' sha1=123456' .
131131 # See https://developer.github.com/webhooks/securing/ for details.
132132 def verify_webhook_signature
133133 their_signature_header = request . env [ 'HTTP_X_HUB_SIGNATURE' ] || 'sha1='
You can’t perform that action at this time.
0 commit comments