From 37dcf05b8774ee356646389e46271b54381fc41b Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 20 Nov 2020 23:03:58 +0100 Subject: [PATCH] Don't log challengeToken --- webhook.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhook.go b/webhook.go index 7cddb84..ffa49fe 100644 --- a/webhook.go +++ b/webhook.go @@ -33,7 +33,7 @@ func handleWebHookPush(w http.ResponseWriter, r *http.Request) { // When asked for a confirmation, just confirm it if challengeToken := r.URL.Query().Get("hub.challenge"); challengeToken != "" { - logger.WithField("challenge", challengeToken).Debug("Confirming webhook subscription") + logger.Debug("Confirming webhook subscription") w.Write([]byte(challengeToken)) return }