Unify constants variables documentation

This commit is contained in:
DevilXD committed 2022-01-25 16:04:56 +01:00
1 parent 5e2a40fc57
commit 20949e7738
2 files changed
+29 -23

No files matched your search

+3 -2
View File
@@ -838,7 +838,8 @@ class Twitch:
]
async def claim_points(self, channel_id: Union[str, int], claim_id: str) -> None:
variables = {"input": {"channelID": str(channel_id), "claimID": claim_id}}
await self.gql_request(
GQL_OPERATIONS["ClaimCommunityPoints"].with_variables(variables)
GQL_OPERATIONS["ClaimCommunityPoints"].with_variables(
{"input": {"channelID": str(channel_id), "claimID": claim_id}}
)
)