Skip to content

Commit

Permalink
Updated docs
Browse files Browse the repository at this point in the history
  • Loading branch information
oojacoboo committed Oct 12, 2023
1 parent 57a5168 commit 33a9a98
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ That's it. This will generate a new GraphQL module in your project at, `./searc

## Installation

This lib can be installed globally, or locally. We recommend installing it locally, so you can make use of the `utils` module as well.
This lib should be installed locally. It will need to be packaged with your Zapier app.

```bash
npm install --save zapier-graphql
Expand Down Expand Up @@ -56,8 +56,6 @@ Upon first use of the CLI app, you'll be prompted to create a `.zapiergraphql` c

The config file that's created for you is a JavaScript module that exports an object - the config. The config file has some documentation and includes all configurable directives. See below for additional configuration details.

The main config file for `zapier-graphql` provides a few different directives to improve the generated output code of your action files.

- `request` - An object that configures the request. Currently there are two properties:
- `urlEnvVar` - An environment variable that includes the full base url of your GraphQL API.
- `headers` - Headers to include for every request. By default `Content-Type: application/json` and `Accept: application/json` are included.
Expand Down

0 comments on commit 33a9a98

Please sign in to comment.