diff --git a/docs/source/stateless.md b/docs/source/stateless.md index 6b323daf5a..c17790a159 100644 --- a/docs/source/stateless.md +++ b/docs/source/stateless.md @@ -27,7 +27,8 @@ import { ApolloLink } from 'apollo-link'; const authLink = new ApolloLink((operation, forward) => { operation.setContext(({ headers }) => ({ headers: { - authorization: Meteor.userId() // however you get your token + authorization: Meteor.userId(), // however you get your token + ...headers }})); return forward(operation); });