RootCauseunvalidated
socket.to(data.cc_pin).emit('code', {code:data.code}) — broadcast to a room from a given socket. Tension: every socket in the room excluding the sender will get the event. Outcome: If you want for the sender to recieve it, then use `io`.
9877b468-6c80-41a6-9350-b078de49d736
socket.to(data.cc_pin).emit('code', {code:data.code}) — broadcast to a room from a given socket. Tension: every socket in the room excluding the sender will get the event. Outcome: If you want for the sender to recieve it, then use io.