mirror of
https://github.com/Luzifer/twitch-manager.git
synced 2024-12-21 04:11:17 +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
|
// When asked for a confirmation, just confirm it
|
||||||
if challengeToken := r.URL.Query().Get("hub.challenge"); challengeToken != "" {
|
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))
|
w.Write([]byte(challengeToken))
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue