Skip to content
Permalink
Browse files

Correct variable name in cheatsheet.md

  • Loading branch information
yandeu committed Nov 29, 2019
1 parent 8c88b2d commit 7f265506029326ad4301ddd4edd0b072e790eb7f
Showing with 1 addition and 1 deletion.
  1. +1 −1 cheatsheet.md
@@ -78,7 +78,7 @@ io.onConnection(channel => {
// will trigger a specific event on all channels in a
// specific room and add the senderId as a second parameter
channel.forward(channel.sroomId).emit('chat message', 'Hello!')
channel.forward(channel.roomId).emit('chat message', 'Hello!')
// listen for a forwarded message
channel.on('chat message', (data, senderId) => {

0 comments on commit 7f26550

Please sign in to comment.
You can’t perform that action at this time.