From 7b6765718e13138510057f9ea2453fb156528da7 Mon Sep 17 00:00:00 2001 From: Gildas Garcia <1122076+djhi@users.noreply.github.com> Date: Thu, 18 Apr 2024 10:26:34 +0200 Subject: [PATCH] Fix node usage example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index cd120e1..b2001fb 100644 --- a/README.md +++ b/README.md @@ -456,7 +456,7 @@ const data = { // ... your data }; -app.use('/graphql', jsonGraphqlExpress(data)); +app.use('/graphql', jsonGraphqlExpress.default(data)); app.listen(PORT); ```