Browse Source

Fix(removing echos from the solution)

fixDevirged
miguel 2 years ago committed by MSilva95
parent
commit
072f1b6b3c
  1. 4
      sh/tests/solutions/to-git-or-not-to-git.sh

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

@ -1,4 +1,2 @@
#!/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: $response
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