diff --git a/docs/source/data/fetching-data.mdx b/docs/source/data/fetching-data.mdx index 1a610a27ab9..774060522d6 100644 --- a/docs/source/data/fetching-data.mdx +++ b/docs/source/data/fetching-data.mdx @@ -163,7 +163,7 @@ const server = new ApolloServer({ }); const { url } = await startStandaloneServer(server, { - context: async () => { + context: async ({ req }) => { const { cache } = server; // highlight-line const token = req.headers.token; return {