Skip to content

Commit

Permalink
Fix node usage example
Browse files Browse the repository at this point in the history
  • Loading branch information
djhi authored Apr 18, 2024
1 parent db9d160 commit 7b67657
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -456,7 +456,7 @@ const data = {
// ... your data
};

app.use('/graphql', jsonGraphqlExpress(data));
app.use('/graphql', jsonGraphqlExpress.default(data));
app.listen(PORT);
```

Expand Down

0 comments on commit 7b67657

Please sign in to comment.