more oath
continuous-integration/drone/push Build is passing Details
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 20:29:19 +02:00
parent 0afe049bd7
commit 7735ca7a27
1 changed files with 1 additions and 0 deletions

View File

@ -221,6 +221,7 @@ func TwitchAdminHandler(response http.ResponseWriter, request *http.Request) {
return
}
req.Header.Add("Client-ID", ircBot.AppCredentials.ClientID)
req.Header.Add("Authorization", "Bearer "+ircBot.AppCredentials.Password)
req.Header.Set("Content-Type", "application/x-www-form-urlencoded")
resp, err := http.DefaultClient.Do(req)
if err != nil {