Skip to content

Commit 36e71ca

Browse files
author
Guillaume Chau
authored
Fix subscribeToMore typo
1 parent 584cfc2 commit 36e71ca

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
@@ -839,7 +839,7 @@ this.$watch(() => this.type, (type, oldType) => {
839839

840840
### subscribe
841841

842-
**:warning: If you want to update a query with the result of the subscription, use `subscribeForMore`. The methods below are suitable for a 'notify' use case.**
842+
**:warning: If you want to update a query with the result of the subscription, use `subscribeToMore`. The methods below are suitable for a 'notify' use case.**
843843

844844
Use the `$apollo.subscribe()` method to subscribe to a GraphQL subscription that will get killed automatically when the component is destroyed:
845845

0 commit comments

Comments
 (0)