mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-11-09 16:50:01 +00:00
[core] Fix: New followers endpoint requires user-token
Signed-off-by: Knut Ahlers <knut@ahlers.me>
This commit is contained in:
parent
0d717c7ca9
commit
40dc38d9ac
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ func (c *Client) GetFollowDate(from, to string) (time.Time, error) {
|
||||||
}
|
}
|
||||||
|
|
||||||
if err := c.Request(ClientRequestOpts{
|
if err := c.Request(ClientRequestOpts{
|
||||||
AuthType: AuthTypeAppAccessToken,
|
AuthType: AuthTypeBearerToken,
|
||||||
Context: context.Background(),
|
Context: context.Background(),
|
||||||
Method: http.MethodGet,
|
Method: http.MethodGet,
|
||||||
OKStatus: http.StatusOK,
|
OKStatus: http.StatusOK,
|
||||||
|
|
Loading…
Reference in a new issue