Remove debug logging

Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
This commit is contained in:
justusbunsi 2022-06-12 13:28:31 +02:00
parent 0cc1cdc6c8
commit 471b25e682
No known key found for this signature in database
GPG key ID: 82B29BF2507F9F8B

View file

@ -5,12 +5,9 @@ import (
"crypto/sha256"
"encoding/hex"
"fmt"
"log"
)
func isValidWebhook(message []byte, key string, signature string, component string) (bool, error) {
log.Printf("'%s'", signature)
if key == "" && signature == "" {
// No webhook token configured and no signature header received. Skipping request validation.
return true, nil