Update repository ID instructions to new git.sr.ht schema

This commit is contained in:
Sebastian LaVine 2022-02-24 15:50:36 -05:00 committed by Drew DeVault
parent b68cffef73
commit fb3cbf11ee
1 changed files with 1 additions and 1 deletions

View File

@ -329,7 +329,7 @@ bearer_token=xrAV8VvqzChACiu+kR7kDdoPl0RcpkQJNplJCHeQ6Tw169H8C4WXIM9m
repo_name=example
curl --oauth2-bearer $bearer_token \
-G --data-urlencode query='query { repositoryByName(name: "'$repo_name'") { id } }' \
-G --data-urlencode query='query { me { repository(name: "'$repo_name'") { id } } }' \
https://git.sr.ht/query
```