Skip to content

Commit 1339779

Browse files
committed
fixed jsonGraphqlExpress import
1 parent 49a7d50 commit 1339779

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ Then use the `jsonGraphqlExpress` express middleware:
398398

399399
```js
400400
import express from 'express';
401-
import { jsonGraphqlExpress } from 'json-graphql-server';
401+
import jsonGraphqlExpress from 'json-graphql-server';
402402

403403
const PORT = 3000;
404404
const app = express();
@@ -515,7 +515,7 @@ fetch({
515515

516516
```js
517517
import express from 'express';
518-
import { jsonGraphqlExpress } from 'json-graphql-server';
518+
import jsonGraphqlExpress from 'json-graphql-server';
519519

520520
import OAuthSecurityMiddleWare from './path/to/OAuthSecurityMiddleWare';
521521

0 commit comments

Comments
 (0)