mirror of https://github.com/01-edu/public.git
xpetit
3 years ago
1 changed files with 1 additions and 0 deletions
@ -1,3 +1,4 @@
|
||||
#!/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' |
||||
|
Loading…
Reference in new issue