Skip to content

Commit c5a95ed

Browse files
aalencarAlexandre Alencar
and
Alexandre Alencar
authored
Fix import express graphql tutorial (graphql#893)
Co-authored-by: Alexandre Alencar <[email protected]>
1 parent a4e489e commit c5a95ed

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/graphql-js/Tutorial-ExpressGraphQL.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ Let's modify our “hello world” example so that it's an API server rather tha
1717

1818
```javascript
1919
var express = require('express');
20-
var graphqlHTTP = require('express-graphql');
20+
var { graphqlHTTP } = require('express-graphql');
2121
var { buildSchema } = require('graphql');
2222

2323
// Construct a schema, using GraphQL schema language

0 commit comments

Comments
 (0)