[core] Fix: Channel modification has StatusNoContent

Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
Knut Ahlers 2022-04-23 17:25:06 +02:00
parent 5a9e589ff5
commit e1a947494b
Signed by: luzifer
GPG key ID: 0066F03ED215AD7D

View file

@ -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",