mirror of https://github.com/01-edu/public.git
1 changed files with 1 additions and 3 deletions
@ -1,4 +1,2 @@ |
|||||||
#!/usr/bin/env bash |
#!/usr/bin/env bash |
||||||
echo WHAT |
curl -s "https://$DOMAIN/api/graphql-engine/v1/graphql" --data '{"query":"{user(where:{login:{_eq:\"'$USERNAME'\"}}){id}}"}' | jq '.data.user[0].id' |
||||||
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 |
|
||||||
|
Loading…
Reference in new issue