Skip to content

Commit

Permalink
Reorder graphql upload plugin so it works again (#150)
Browse files Browse the repository at this point in the history
  • Loading branch information
Ninjaman494 authored Dec 10, 2022
1 parent ded1223 commit 5b12db1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -99,8 +99,8 @@ const startServer = async () => {
expressApp.use(
'/graphql',
bodyParser.json(),
expressMiddleware(apolloServer),
graphqlUploadExpress(),
expressMiddleware(apolloServer),
);

const PORT = process.env.PORT || 4000;
Expand Down

0 comments on commit 5b12db1

Please sign in to comment.