aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2021-01-25 12:20:49 -0500
committerDrew DeVault <sir@cmpwn.com>2021-01-25 12:20:49 -0500
commit4bf60eb9ce6dbb73da28c0f4ed446347dcccb8af (patch)
treea76f6285f60ce4b54b29848438c76d46c73aa072 /git.sr.ht
parenteaf07004e440b78c5b81723cffec2933635f750b (diff)
downloadsr.ht-docs-4bf60eb9ce6dbb73da28c0f4ed446347dcccb8af.tar.gz
git.sr.ht: fix typo in readme query
Diffstat (limited to 'git.sr.ht')
-rw-r--r--git.sr.ht/index.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/git.sr.ht/index.md b/git.sr.ht/index.md
index f072ee6..2973422 100644
--- a/git.sr.ht/index.md
+++ b/git.sr.ht/index.md
@@ -137,7 +137,7 @@ readme=README.html
jq -R '{
"query": "mutation UpdateRepo($id: Int!, $readme: String!) {
- updateRepository(id: 60, input: { readme: $readme }) { id }
+ updateRepository(id: $id, input: { readme: $readme }) { id }
}", "variables": {
"id": '$repo_id',
"readme": .
@@ -152,7 +152,7 @@ execute the following GraphQL request:
```
mutation UpdateRepo($id: Int!, $readme: String!) {
- updateRepository(id: 60, input: { readme: $readme }) { id }
+ updateRepository(id: $id, input: { readme: $readme }) { id }
}
```