mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-20 11:51:17 +00:00
[core] Fix: Reduce token requirements for category search
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
9cac1686b8
commit
3cfee5ccc9
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ func (c *Client) SearchCategories(ctx context.Context, name string) ([]Category,
|
||||||
|
|
||||||
for {
|
for {
|
||||||
if err := c.Request(ctx, ClientRequestOpts{
|
if err := c.Request(ctx, ClientRequestOpts{
|
||||||
AuthType: AuthTypeBearerToken,
|
AuthType: AuthTypeAppAccessToken,
|
||||||
Method: http.MethodGet,
|
Method: http.MethodGet,
|
||||||
OKStatus: http.StatusOK,
|
OKStatus: http.StatusOK,
|
||||||
Out: &resp,
|
Out: &resp,
|
||||||
|
|
Loading…
Reference in a new issue