mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 20:01:17 +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,
|
Body: body,
|
||||||
Context: ctx,
|
Context: ctx,
|
||||||
Method: http.MethodPatch,
|
Method: http.MethodPatch,
|
||||||
OKStatus: http.StatusOK,
|
OKStatus: http.StatusNoContent,
|
||||||
URL: fmt.Sprintf("https://api.twitch.tv/helix/channels?broadcaster_id=%s", broadcaster),
|
URL: fmt.Sprintf("https://api.twitch.tv/helix/channels?broadcaster_id=%s", broadcaster),
|
||||||
}),
|
}),
|
||||||
"executing request",
|
"executing request",
|
||||||
|
|
Loading…
Reference in a new issue