Skip to content

Commit 7b67657

Browse files
authored
Fix node usage example
1 parent db9d160 commit 7b67657

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -456,7 +456,7 @@ const data = {
456456
// ... your data
457457
};
458458

459-
app.use('/graphql', jsonGraphqlExpress(data));
459+
app.use('/graphql', jsonGraphqlExpress.default(data));
460460
app.listen(PORT);
461461
```
462462

0 commit comments

Comments
 (0)