docs: Update unsubscribeFromTopic method name (#3567)

[skip-ci]
This commit is contained in:
Maaz Abdul Jabbar
2020-04-28 20:12:57 +05:00
committed by GitHub
parent e10482b217
commit f592570090

View File

@@ -276,7 +276,7 @@ messaging()
#### Unsubscribing to topics
To unsubscribe from a topic, call the `subscribeToTopic` method with the topic name:
To unsubscribe from a topic, call the `unsubscribeFromTopic` method with the topic name:
```js
messaging()