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

Use the correct body for GraphQL requests #319

Merged
merged 1 commit into from
Nov 23, 2024

Conversation

loganswartz
Copy link
Contributor

After a period of not needing to use kulala, I recently updated it and went to use my saved GraphQL requests. However, I found that none of them were working, because kulala was sending the raw body of the request file, rather than properly parsing it to JSON and sending that blob.

After a bunch of digging, I figured out that bc2eb2d was the culprit. Specifically, here and here changed gql_json to res.body.

This just switches those lines to use gql_json again, which fixed all my broken GraphQL requests.

@gorillamoe gorillamoe self-assigned this Nov 22, 2024
@gorillamoe gorillamoe added the bug Something isn't working label Nov 22, 2024
@gorillamoe
Copy link
Member

Thanks 🙏🏾👍🏾 for the fix!

@gorillamoe gorillamoe merged commit 89e713b into mistweaverco:main Nov 23, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants