mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +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
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue