diff --git a/examples/with-apollo-auth/lib/initApollo.js b/examples/with-apollo-auth/lib/initApollo.js index 5dec4e7b..7212398c 100644 --- a/examples/with-apollo-auth/lib/initApollo.js +++ b/examples/with-apollo-auth/lib/initApollo.js @@ -21,7 +21,7 @@ function create (initialState, { getToken }) { return { headers: { ...headers, - authorization: token ? `Bearer ${token}` : null + authorization: token ? `Bearer ${token}` : '' } } })