diff --git a/hook/hook.go b/hook/hook.go index fb1b6fc..4e12f73 100644 --- a/hook/hook.go +++ b/hook/hook.go @@ -146,8 +146,8 @@ func CheckScalrSignature(headers map[string]interface{}, body []byte, signingKey expectedSignature := hex.EncodeToString(mac.Sum(nil)) if !hmac.Equal([]byte(providedSignature), []byte(expectedSignature)) { - return false, &SignatureError{providedSignature} - } + return false, nil + } if !checkDate { return true, nil