From 10cf32872f683a8fc0aaa20da0d60fb13f198a31 Mon Sep 17 00:00:00 2001 From: Thomas Hohn Date: Thu, 14 Nov 2024 08:50:45 +0100 Subject: [PATCH] Adapt after review --- test/data/graphql/index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/data/graphql/index.js b/test/data/graphql/index.js index 7172d77d1..74ebac5a0 100644 --- a/test/data/graphql/index.js +++ b/test/data/graphql/index.js @@ -17,9 +17,9 @@ const server = new ApolloServer({ playground: true, }); -server.start().then(res => { +server.start().then(() => { server.applyMiddleware({ app }); app.use(middleware); app.use(router); module.exports = app.listen(PORT, () => console.log(`test graphQL server listening on port ${PORT}...`)); -}) +});