Remove debug logging
Signed-off-by: Steven Kriegler <sk.bunsenbrenner@gmail.com>
This commit is contained in:
parent
0cc1cdc6c8
commit
471b25e682
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue