diff options
Diffstat (limited to 'spec/frontend_integration/test_helpers/mock_server/routes/graphql.js')
-rw-r--r-- | spec/frontend_integration/test_helpers/mock_server/routes/graphql.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/frontend_integration/test_helpers/mock_server/routes/graphql.js b/spec/frontend_integration/test_helpers/mock_server/routes/graphql.js index ebb5415ba97..a22763dcb45 100644 --- a/spec/frontend_integration/test_helpers/mock_server/routes/graphql.js +++ b/spec/frontend_integration/test_helpers/mock_server/routes/graphql.js @@ -1,6 +1,6 @@ import { graphqlQuery } from '../graphql'; -export default server => { +export default (server) => { server.post('/api/graphql', (schema, request) => { const batches = JSON.parse(request.requestBody); |