mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-09-19 10:02:55 +00:00
Fix: Wrong HTTP method for channel update
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
3e5d3d0532
commit
c9e7d48477
@ -337,7 +337,7 @@ func (c Client) ModifyChannelInformation(ctx context.Context, broadcasterName st
|
||||
}
|
||||
|
||||
return errors.Wrap(
|
||||
c.request(ctx, http.MethodPost, fmt.Sprintf("https://api.twitch.tv/helix/channels?broadcaster_id=%s", broadcaster), body, nil),
|
||||
c.request(ctx, http.MethodPatch, fmt.Sprintf("https://api.twitch.tv/helix/channels?broadcaster_id=%s", broadcaster), body, nil),
|
||||
"executing request",
|
||||
)
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user