Skip to content

Commit c675be5

Browse files
committed
docs: node client uses graphql-http [skip ci]
1 parent b5bd14b commit c675be5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ const client = createClient({
502502
```js
503503
const fetch = require('node-fetch'); // yarn add node-fetch
504504
const { AbortController } = require('node-abort-controller'); // (node < v15) yarn add node-abort-controller
505-
const { createClient } = require('graphql-sse');
505+
const { createClient } = require('graphql-http');
506506

507507
const client = createClient({
508508
url: 'http://no.browser:4000/graphql',

0 commit comments

Comments
 (0)