mirror of
https://github.com/Luzifer/twitch-bot.git
synced 2024-09-19 10:02:55 +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
@ -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 New Issue
Block a user