Skip to content

Commit

Permalink
Merge pull request #7686 from guidoffm/guidoffm-patch-1
Browse files Browse the repository at this point in the history
Update fetching-data.mdx
  • Loading branch information
Meschreiber committed Aug 14, 2023
2 parents 9817bc4 + d1311dd commit 76a60ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/source/data/fetching-data.mdx
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ const server = new ApolloServer<ContextValue>({
});

const { url } = await startStandaloneServer(server, {
context: async () => {
context: async ({ req }) => {
const { cache } = server; // highlight-line
const token = req.headers.token;
return {
Expand Down

0 comments on commit 76a60ad

Please sign in to comment.