Update DirectoryPage_Game GQL operation

This commit is contained in:
DevilXD committed 2024-06-23 00:03:09 +02:00
1 parent a1ac24048b
commit 2bd2845790
1 file changed
+5 -3
+5 -3
View File
@@ -325,9 +325,9 @@ GQL_OPERATIONS: dict[str, GQLOperation] = {
# returns live channels for a particular game # returns live channels for a particular game
"GameDirectory": GQLOperation( "GameDirectory": GQLOperation(
"DirectoryPage_Game", "DirectoryPage_Game",
"3c9a94ee095c735e43ed3ad6ce6d4cbd03c4c6f754b31de54993e0d48fd54e30", "e303f59d4836d19e66cb0f5a1efe15fbe2a1c02d314ad4f09982e825950b293d",
variables={ variables={
"limit": ..., # limit of channels returned "limit": 30, # limit of channels returned
"slug": ..., # game slug "slug": ..., # game slug
"imageWidth": 50, "imageWidth": 50,
"options": { "options": {
@@ -335,10 +335,12 @@ GQL_OPERATIONS: dict[str, GQLOperation] = {
"freeformTags": None, "freeformTags": None,
"includeRestricted": ["SUB_ONLY_LIVE"], "includeRestricted": ["SUB_ONLY_LIVE"],
"recommendationsContext": {"platform": "web"}, "recommendationsContext": {"platform": "web"},
"sort": "RELEVANCE", "sort": "RELEVANCE", # also accepted: "VIEWER_COUNT"
"systemFilters": [],
"tags": [], "tags": [],
"requestID": "JIRA-VXP-2397", "requestID": "JIRA-VXP-2397",
}, },
"includePreviewBlur": True,
"sortTypeIsRecency": False, "sortTypeIsRecency": False,
}, },
), ),