Skip to content

Commit a371732

Browse files
authored
Fixes syntax error in Express example (graphql#892)
1 parent c5a95ed commit a371732

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/code/index.html.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -275,7 +275,7 @@ Then run \`node server.js\` with this code in \`server.js\`:
275275
276276
\`\`\`js
277277
var express = require('express');
278-
var graphqlHTTP = require('express-graphql');
278+
var { graphqlHTTP } = require('express-graphql');
279279
var { buildSchema } = require('graphql');
280280
281281
var schema = buildSchema(\`

0 commit comments

Comments
 (0)