From 46be38140e30af5341951cee38f811b896760c4c Mon Sep 17 00:00:00 2001 From: xpetit <32063953+xpetit@users.noreply.github.com> Date: Wed, 30 Jun 2021 18:56:49 +0200 Subject: [PATCH] Fix subject --- sh/tests/solutions/to-git-or-not-to-git.sh | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) 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 cd307c6a..0f54959b 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'