aboutsummaryrefslogtreecommitdiffstats
path: root/git.sr.ht/index.md
diff options
context:
space:
mode:
Diffstat (limited to 'git.sr.ht/index.md')
-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 }
}
```