Skip to content

Commit

Permalink
Adapt after review
Browse files Browse the repository at this point in the history
  • Loading branch information
thomashohn committed Nov 14, 2024
1 parent 2771109 commit 10cf328
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/data/graphql/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -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}...`));
})
});

0 comments on commit 10cf328

Please sign in to comment.