mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
[core] Fix: Channel modification has StatusNoContent
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
5a9e589ff5
commit
e1a947494b
1 changed files with 1 additions and 1 deletions
|
@ -512,7 +512,7 @@ func (c *Client) ModifyChannelInformation(ctx context.Context, broadcasterName s
|
|||
Body: body,
|
||||
Context: ctx,
|
||||
Method: http.MethodPatch,
|
||||
OKStatus: http.StatusOK,
|
||||
OKStatus: http.StatusNoContent,
|
||||
URL: fmt.Sprintf("https://api.twitch.tv/helix/channels?broadcaster_id=%s", broadcaster),
|
||||
}),
|
||||
"executing request",
|
||||
|
|
Loading…
Reference in a new issue