Skip to content

Commit 5595a49

Browse files
kalinchernevSashko Stubailo
authored and
Sashko Stubailo
committed
Correction in documentation about importing express-graphql. (graphql#153)
1 parent f6a30b4 commit 5595a49

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/graphql-js/APIReference-ExpressGraphQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ The `express-graphql` module provides a simple way to create an [Express](https:
1111

1212
```js
1313
import graphqlHTTP from 'express-graphql'; // ES6
14-
var graphqlHTTP = require('graphql'); // CommonJS
14+
var graphqlHTTP = require('express-graphql'); // CommonJS
1515
```
1616

1717
### graphqlHTTP

0 commit comments

Comments
 (0)