diff --git a/src/graphqlServer.js b/src/graphqlServer.js index e5ad89f00bd124608a86dc4768d69b77b3777596..cd67ad84ca5c37f4916a8efe0ec9d9c2e8c6730c 100644 --- a/src/graphqlServer.js +++ b/src/graphqlServer.js @@ -16,8 +16,6 @@ const schema = require('./graphqlSchema') const isDevelopment = process.env.NODE_ENV === 'development' -const extraApolloConfig = config.has('apollo') ? config.get('apollo') : {} - const createGraphQLServer = testUserContext => { if (process.env.NODE_ENV !== 'test' && testUserContext) { throw new Error( @@ -74,7 +72,6 @@ const createGraphQLServer = testUserContext => { } }, introspection: process.env.NODE_ENV === 'development', - ...extraApolloConfig, } if (isDevelopment) {