aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht
diff options
context:
space:
mode:
authorSebastian LaVine <mail@smlavine.com>2022-02-24 15:50:36 -0500
committerDrew DeVault <sir@cmpwn.com>2022-02-28 11:24:06 +0100
commitfb3cbf11ee64a865963c9c7d8d28c7085b736165 (patch)
treeb75b8d6ccc776c90164c95417e2aac1633a87761 /git.sr.ht
parentb68cffef73411f50ef3c7205cb288fafe5d105c5 (diff)
downloadsr.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.md2
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
```