From 2faced9d437501bbee7fc5334cacf5260670c71f Mon Sep 17 00:00:00 2001 From: Ayush Mukherjee Date: Fri, 19 Mar 2021 23:34:39 +0530 Subject: [PATCH] idk --- src/ws/handler.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ws/handler.js b/src/ws/handler.js index 4c5742c..17684f9 100644 --- a/src/ws/handler.js +++ b/src/ws/handler.js @@ -68,7 +68,7 @@ const handleMsg = async (msg, id) => { } } -const fanoutMsg = (channel, data) => { +const fanoutMsg = async (channel, data) => { Object.keys(connections).forEach((k) => { if (connections[k].events.indexOf(`${channel}:read`) !== -1) { const d = {