diff --git a/README.md b/README.md index b42a578d5..35fc30e42 100644 --- a/README.md +++ b/README.md @@ -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)