Skip to content

Commit 555750f

Browse files
author
Kerstens Maxim
authored
Update README.md
1 parent d39c5b5 commit 555750f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ Once vue-echo is registered, every vue instance is able to to subscribe to chann
4141
```js
4242
var vm = new Vue({
4343
created() {
44-
// Listen for the 'NewBlogPost' event in the 'team.2' private channel
44+
// Listen for the 'NewBlogPost' event in the 'team.1' private channel
4545
this.$echo.private('team.1').listen('NewBlogPost', (payload) => {
4646
console.log(payload);
4747
});
@@ -98,7 +98,7 @@ var vm = new Vue({
9898
channel: 'presence:team.1.chat'
9999
echo: {
100100
'NewMessage': payload => {
101-
console.log('bNew message from team', payload);
101+
console.log('new message from team', payload);
102102
}
103103
}
104104
})

0 commit comments

Comments
 (0)