From 65c9d4e5500536f12dd6e1097e4ebf9968b357c8 Mon Sep 17 00:00:00 2001 From: Abimbola Ayodeji Date: Wed, 23 Sep 2020 14:17:12 +0100 Subject: [PATCH] Update index.js --- src/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/index.js b/src/index.js index 42b090a..d631534 100644 --- a/src/index.js +++ b/src/index.js @@ -31,5 +31,5 @@ app.use('/graphql', async (req, res, next) => { app.use('/graphql', bodyParser.json(), graphqlExpress(req => ({ schema, context: req.context }))) app.use('/graphiql', graphiqlExpress({ endpointURL: '/graphql' })) -app.listen(4000) -console.log('Listening on port 4000') // eslint-disable-line +app.listen(4000, console.log('Listening on port 4000')) +// eslint-disable-line