Implement a way to send watch events through GQL
This commit is contained in:
1 parent
cac9b29587
commit
40000cf295
5 files changed
+98
-38
No files matched your search
+2
-2
@@ -13,7 +13,7 @@ from translate import _
|
||||
from channel import Channel
|
||||
from utils import timestamp, Game
|
||||
from exceptions import GQLException
|
||||
from constants import GQL_OPERATIONS, MAX_EXTRA_MINUTES, URLType, State
|
||||
from constants import GQL_QUERIES, MAX_EXTRA_MINUTES, URLType, State
|
||||
|
||||
if TYPE_CHECKING:
|
||||
from collections import abc
|
||||
@@ -193,7 +193,7 @@ class BaseDrop:
|
||||
return False
|
||||
try:
|
||||
response = await self._twitch.gql_request(
|
||||
GQL_OPERATIONS["ClaimDrop"].with_variables(
|
||||
GQL_QUERIES["ClaimDrop"].with_variables(
|
||||
{"input": {"dropInstanceID": self.claim_id}}
|
||||
)
|
||||
)
|
||||
|
||||
Reference in new issue
Block a user