Ayush Mukherjee 4 years ago
parent b7856fa42c
commit 2faced9d43

@ -68,7 +68,7 @@ const handleMsg = async (msg, id) => {
} }
} }
const fanoutMsg = (channel, data) => { const fanoutMsg = async (channel, data) => {
Object.keys(connections).forEach((k) => { Object.keys(connections).forEach((k) => {
if (connections[k].events.indexOf(`${channel}:read`) !== -1) { if (connections[k].events.indexOf(`${channel}:read`) !== -1) {
const d = { const d = {

Loading…
Cancel
Save