Browse Source

Update to-git-or-not-to-git.sh

testing
pull/1044/head
Christopher Fremond 3 years ago committed by GitHub
parent
commit
401ccc4705
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 7
      sh/tests/solutions/to-git-or-not-to-git.sh

7
sh/tests/solutions/to-git-or-not-to-git.sh

@ -1,7 +1,4 @@
#!/usr/bin/env bash #!/usr/bin/env bash
echo test response=$(curl -s "https://$DOMAIN/api/graphql-engine/v1/graphql" --data '{"query":"{user(where:{login:{_eq:\"'$USERNAME'\"}}){id}}"}' | jq '.data.user[0].id')
echo $DOMAIN echo $response
echo $USERNAME
curl -s "https://$DOMAIN/api/graphql-engine/v1/graphql" --data '{"query":"{user(where:{login:{_eq:\"'$USERNAME'\"}}){id}}"}' | jq '.data.user[0].id'

Loading…
Cancel
Save