Skip to content

Commit

Permalink
fix fn signature
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshuawuyts committed Jul 31, 2017
1 parent 067cd88 commit 22aa0f7
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 @@ -34,7 +34,7 @@ xhr('/query', { json: query(variables) }, function (err, res, body) {
### `query = gql(string)`
Create a new graphql query function.

### `data = query(data)`
### `data = query([data])`
Create a new query object that can be sent as `application/json` to a server.

## License
Expand Down

0 comments on commit 22aa0f7

Please sign in to comment.