Fix JSON parsing problem

This commit is contained in:
clsty
2025-10-09 22:22:59 +08:00
parent 1e90434c18
commit a7aadd7439
@@ -18,7 +18,7 @@ jobs:
curl -X POST \ curl -X POST \
-H "Authorization: Bearer $GH_TOKEN" \ -H "Authorization: Bearer $GH_TOKEN" \
-H "Content-Type: application/json" \ -H "Content-Type: application/json" \
-d '{"query": "query { repository(owner: "end-4", name: "dots-hyprland") { discussion(number: 2140) { id } } }"}' \ -d '{"query": "query { repository(owner: \"end-4\", name: \"dots-hyprland\") { discussion(number: 2140) { id } } }"}' \
https://api.github.com/graphql https://api.github.com/graphql
# gh api graphql -f query=' # gh api graphql -f query='
# mutation { # mutation {