diff --git a/packages/evershop/src/modules/base/api/global/context.js b/packages/evershop/src/modules/base/api/global/context.js index bc28aea9a..75fbeb9e2 100644 --- a/packages/evershop/src/modules/base/api/global/context.js +++ b/packages/evershop/src/modules/base/api/global/context.js @@ -1,9 +1,9 @@ const { pool } = require('@evershop/evershop/src/lib/postgres/connection'); +const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig'); const { setContextValue, hasContextValue } = require('../../../graphql/services/contextHelper'); -const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig'); module.exports = (request, response) => { response.context = {}; diff --git a/packages/evershop/src/modules/base/pages/global/context.js b/packages/evershop/src/modules/base/pages/global/context.js index 492e79bff..ed019f077 100644 --- a/packages/evershop/src/modules/base/pages/global/context.js +++ b/packages/evershop/src/modules/base/pages/global/context.js @@ -1,9 +1,9 @@ const { pool } = require('@evershop/evershop/src/lib/postgres/connection'); +const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig'); const { setContextValue, hasContextValue } = require('../../../graphql/services/contextHelper'); -const { getConfig } = require('@evershop/evershop/src/lib/util/getConfig'); module.exports = (request, response) => { response.context = {}; // TODO: Fix this