Skip to content

Commit c05dda8

Browse files
committed
docs: revert options -> operation
1 parent a497db3 commit c05dda8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -419,7 +419,7 @@ To use subscription you can use either [subscriptions-transport-ws](https://gith
419419

420420
`useSubscription(operation, callback)`
421421

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

0 commit comments

Comments
 (0)