Browse Source

Debug

pull/804/head
xpetit 3 years ago
parent
commit
2bc751a2cc
No known key found for this signature in database
GPG Key ID: 97C60669182C17A5
  1. 1
      sh/tests/solutions/to-git-or-not-to-git.sh

1
sh/tests/solutions/to-git-or-not-to-git.sh

@ -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…
Cancel
Save