Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion website/pages/docs/going-to-production.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ const postRepository = {
// Resolver for the `Post.body` field:
function Post_body(source, args, context, info) {
// return the post body only if the user is the post's author
return postRepository.getBody({ user: context.user, post: obj })
return postRepository.getBody({ user: context.user, post: source })
}
```

Expand Down
Loading