Remove token validate

This commit is contained in:
2024-11-17 22:36:23 +01:00
parent 1d4aaf9885
commit 0fcbb59145

View File

@@ -25,8 +25,7 @@ async def authorize(auto_refresh_auth: bool = False) -> Twitch:
await twitch.set_user_authentication( await twitch.set_user_authentication(
token, token,
SCOPES, SCOPES,
refresh_token=refresh_token if auto_refresh_auth else None, refresh_token=refresh_token if auto_refresh_auth else None
validate=True
) )
await twitch.authenticate_app(SCOPES) await twitch.authenticate_app(SCOPES)