From 3cfee5ccc96667cb4e6202b664e937379ccab252 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Thu, 12 Dec 2024 00:59:42 +0100 Subject: [PATCH] [core] Fix: Reduce token requirements for category search Signed-off-by: Knut Ahlers --- pkg/twitch/search.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/twitch/search.go b/pkg/twitch/search.go index 66ff441..ff104fc 100644 --- a/pkg/twitch/search.go +++ b/pkg/twitch/search.go @@ -36,7 +36,7 @@ func (c *Client) SearchCategories(ctx context.Context, name string) ([]Category, for { if err := c.Request(ctx, ClientRequestOpts{ - AuthType: AuthTypeBearerToken, + AuthType: AuthTypeAppAccessToken, Method: http.MethodGet, OKStatus: http.StatusOK, Out: &resp,