more oath
Signed-off-by: Martyn Ranyard <m@rtyn.berlin>
This commit is contained in:
parent
0afe049bd7
commit
7735ca7a27
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue