mirror of
https://github.com/Luzifer/twitch-manager.git
synced 2024-11-09 18:00:05 +00:00
Don't log challengeToken
This commit is contained in:
parent
dea42ee207
commit
37dcf05b87
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue