Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update hash and add new variable includeIsDJ #167

Merged
merged 2 commits into from
Aug 13, 2024
Merged

update hash and add new variable includeIsDJ #167

merged 2 commits into from
Aug 13, 2024

Conversation

Nazar1ky
Copy link

@Nazar1ky Nazar1ky commented Aug 7, 2024

Issue from: DevilXD#526 (comment)

Closes: #159


UPD: Old hash renewed and working again...


Hash has been updated:

-3c9a94ee095c735e43ed3ad6ce6d4cbd03c4c6f754b31de54993e0d48fd54e30
+c7c9d5aad09155c4161d2382092dc44610367f3536aac39019ec2582ae5065f9

Also added new variable includeIsDJ, without it server return response:

{'errors': [{'message': 'Variable "includeIsDJ" has invalid value null.\nExpected type "Boolean!", found null.', 'locations': [{'line': 1, 'column': 154}]}], 'extensions': {'durationMilliseconds': 2, 'operationName': 'DirectoryPage_Game', 'requestID': '01J4Q51NTKF0Y71G3CC'}}

That variable adds isParticipatingDJ:

    {
        "cursor": "eyJzIjoxMzY1LjM4MjQ1NjU1OTU0NDIsImQiOmZhbHNlLCJ0Ijp0cnVlfQ==",
        "node": {
            "id": "42708821592",
            "title": "Der Weg zum Set Bonus",
            "viewersCount": 1365,
            "previewImageURL": "https://static-cdn.jtvnw.net/previews-ttv/live_user_keysjore-440x248.jpg",
            "broadcaster": {
                "id": "28552242",
                "login": "keysjore",
                "displayName": "KeysJore",
                "roles": {
                    "isPartner": true,
+                   "isParticipatingDJ": false,
                    "__typename": "UserRoles"
                },
                "profileImageURL": "https://static-cdn.jtvnw.net/jtv_user_pictures/keysjore-profile_image-5cf0ec46d8075838-50x50.jpeg",
                "primaryColorHex": null,
                "__typename": "User"
            },
            "freeformTags": [
                {
                    ...
                },
                {
                    ...
                }
            ],
            "type": "live",
            "game": {
                ...
            },
            "previewThumbnailProperties": {
               ...
            },
            "__typename": "Stream"
        },
        "trackingID": null,
        "__typename": "StreamEdge"
    },

That used for:
image

@Nazar1ky Nazar1ky changed the base branch from master to in-dev August 7, 2024 19:39
@Nazar1ky Nazar1ky changed the base branch from in-dev to master August 7, 2024 19:40
@Windows200000
Copy link
Owner

Sorry for being late.

@Windows200000 Windows200000 changed the base branch from master to in-dev August 13, 2024 20:53
@Windows200000 Windows200000 merged commit 6041277 into Windows200000:in-dev Aug 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Hash changed for DirectoryPage_Game persisted query
2 participants