Don't add error
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Peter Stuifzand 2019-03-19 22:35:31 +01:00
parent 6e09f208b5
commit e631dcc813
Signed by: peter
GPG Key ID: 374322D56E5209E8

View File

@ -61,8 +61,8 @@ func (h *incomingHandler) ServeHTTP(w http.ResponseWriter, r *http.Request) {
}
verify := values.Get("hub.challenge")
_, err := fmt.Fprint(w, verify)
http.Error(w, fmt.Sprintf("could not write verification challenge: %v", err), 400)
_, _ = fmt.Fprint(w, verify)
return
}