Skip to content

Commit

Permalink
chore(docs): missing comma in readme (#217)
Browse files Browse the repository at this point in the history
  • Loading branch information
pengx17 authored Oct 13, 2020
1 parent 2b7ecbd commit 094fd5e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@ main().catch((error) => console.error(error))
If you want to set headers after the GraphQLClient has been initialised, you can use the `setHeader()` or `setHeaders()` functions.

```js
import { setHeaders, setHeader GraphQLClient } from 'graphql-request'
import { setHeaders, setHeader, GraphQLClient } from 'graphql-request'

const client = new GraphQLClient(endpoint)

Expand Down

0 comments on commit 094fd5e

Please sign in to comment.