diff options
author | Sebastian LaVine <mail@smlavine.com> | 2022-02-24 15:50:36 -0500 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2022-02-28 11:24:06 +0100 |
commit | fb3cbf11ee64a865963c9c7d8d28c7085b736165 (patch) | |
tree | b75b8d6ccc776c90164c95417e2aac1633a87761 /git.sr.ht | |
parent | b68cffef73411f50ef3c7205cb288fafe5d105c5 (diff) | |
download | sr.ht-docs-fb3cbf11ee64a865963c9c7d8d28c7085b736165.tar.gz |
Update repository ID instructions to new git.sr.ht schema
Diffstat (limited to 'git.sr.ht')
-rw-r--r-- | git.sr.ht/index.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git.sr.ht/index.md b/git.sr.ht/index.md index 2a2614e..f9a4df0 100644 --- a/git.sr.ht/index.md +++ b/git.sr.ht/index.md @@ -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 ``` |