mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-12-30 00:21:16 +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{
|
||||
AuthType: AuthTypeAppAccessToken,
|
||||
AuthType: AuthTypeBearerToken,
|
||||
Context: context.Background(),
|
||||
Method: http.MethodGet,
|
||||
OKStatus: http.StatusOK,
|
||||
|
|
Loading…
Reference in a new issue