Ensure check_login in all places the access token is used

This commit is contained in:
DevilXD committed 2022-08-22 10:00:18 +02:00
1 parent 90fb6ea9a7
commit 85f7aa37bc
2 files changed
+2

No files matched your search

+1
View File
@@ -884,6 +884,7 @@ class Twitch:
async def gql_request(self, op: GQLOperation) -> JsonType:
gql_logger.debug(f"GQL Request: {op}")
await self.check_login()
async with self.request(
"POST",
"https://gql.twitch.tv/gql",