Skip to content

Commit

Permalink
docs: revert options -> operation
Browse files Browse the repository at this point in the history
  • Loading branch information
brianjd committed Jan 7, 2025
1 parent a497db3 commit c05dda8
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 @@ -419,7 +419,7 @@ To use subscription you can use either [subscriptions-transport-ws](https://gith

`useSubscription(operation, callback)`

- `options`: Object - The GraphQL operation has the following properties:
- `operation`: Object - The GraphQL operation has the following properties:
- `query`: String (required) - the GraphQL query
- `variables`: Object (optional) - Any variables the query might need
- `operationName`: String (optional) - If your query has multiple operations, you can choose which operation you want to call.
Expand Down

0 comments on commit c05dda8

Please sign in to comment.