Browse Source

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

update-quest-08-exercises-description-c-150
Christopher Fremond 2 years ago committed by GitHub
parent
commit
98ffba8694
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      sh/tests/solutions/to-git-or-not-to-git.sh

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

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

Loading…
Cancel
Save