From 060fcfa773d8df524bb253adf42ef419e32e218b Mon Sep 17 00:00:00 2001 From: Kevin Wang Date: Sun, 17 Sep 2023 10:54:03 -0400 Subject: [PATCH] fix: missing return --- functions/src/index.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/functions/src/index.ts b/functions/src/index.ts index 784ea1c2b..ccf724c1e 100644 --- a/functions/src/index.ts +++ b/functions/src/index.ts @@ -81,6 +81,7 @@ export const send = functions.https.onCall(async (data, context) => { ws.send(`NICK ${userChannel}`); ws.send(`PRIVMSG #${targetChannel} :${message}`); ws.close(); + return; } throw new functions.https.HttpsError("invalid-argument", "invalid provider");