From 072f1b6b3c333ac0956aead7f714656324d9cd42 Mon Sep 17 00:00:00 2001 From: miguel Date: Fri, 12 Aug 2022 09:38:28 +0100 Subject: [PATCH] Fix(removing echos from the solution) --- sh/tests/solutions/to-git-or-not-to-git.sh | 4 +--- 1 file changed, 1 insertion(+), 3 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 adb7dc82..568d211f 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,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'