From d2580fbed52ffd71250458880cb2b6597c134e64 Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Wed, 18 Jan 2023 14:43:13 +0100 Subject: [PATCH] changed http code on "no messages" --- index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/index.js b/index.js index 82c4928..566b0f0 100644 --- a/index.js +++ b/index.js @@ -86,7 +86,7 @@ app.post('/getChat', (req, res) => { } if (Object.keys(chats).length === 0) { - res.status(100).send(); + res.status(204).send(); return; }