diff --git a/sh/tests/solutions/to-git-or-not-to-git.sh b/sh/tests/solutions/to-git-or-not-to-git.sh index cd307c6a9..0f54959ba 100755 --- a/sh/tests/solutions/to-git-or-not-to-git.sh +++ b/sh/tests/solutions/to-git-or-not-to-git.sh @@ -1,4 +1,3 @@ #!/usr/bin/env bash -echo "USERNAME: $USERNAME" -curl -s "https://$DOMAIN/api/graphql-engine/v1/graphql" --data '{"query":"{user(where:{githubLogin:{_eq:\"'$USERNAME'\"}}){id}}"}' | jq '.data.user[0].id' +curl -s "https://$DOMAIN/api/graphql-engine/v1/graphql" --data '{"query":"{user(where:{login:{_eq:\"'$USERNAME'\"}}){id}}"}' | jq '.data.user[0].id'