Removal of debug
continuous-integration/drone/tag Build is passing Details

Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
Martyn 2020-06-30 21:21:30 +02:00
parent bd0615b7bc
commit 3ea3530f04
1 changed files with 0 additions and 11 deletions

View File

@ -262,17 +262,6 @@ func TwitchAdminHandler(response http.ResponseWriter, request *http.Request) {
response.WriteHeader(500)
response.Header().Add("Content-type", "text/plain")
fmt.Fprint(response, "ERROR: Twitch returned not 1 user for the request!\n---\n")
fmt.Fprint(response, usersObject.Data)
fmt.Fprint(response, "\n---\n")
fmt.Fprint(response, body)
fmt.Fprint(response, "\n---\n")
fmt.Fprint(response, usersResponse)
fmt.Fprint(response, "\n---\n")
fmt.Fprint(response, usersObject)
fmt.Fprint(response, "\n---\n")
fmt.Fprint(response, "curl -H 'Authorization: Bearer "+oauthResponse.Access_token+
"' -H 'Client-ID: "+ircBot.AppCredentials.ClientID+
" -X GET https://api.twitch.tv/users")
return
}