Commit 80c6508
authored
docs: fix Post_body example variable (#4767)
## Summary
- replace the undefined `obj` variable with `source` in the `Post_body`
resolver example
- keep the change scoped to the production guide docs example only
## Why
The current snippet defines `function Post_body(source, args, context,
info)` but passes `post: obj`, which is undefined and causes the copied
example to fail immediately.
Closes #4765.
## Validation
- `npx --yes prettier@2.6.2 --check
website/pages/docs/going-to-production.mdx`
- `git diff --check`1 parent b43ccb1 commit 80c6508
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
149 | 149 | | |
150 | 150 | | |
151 | 151 | | |
152 | | - | |
| 152 | + | |
153 | 153 | | |
154 | 154 | | |
155 | 155 | | |
| |||
0 commit comments