changed http code on "no messages"

This commit is contained in:
Baipyrus 2023-01-18 14:43:13 +01:00
parent ee6b66895c
commit d2580fbed5

View File

@ -86,7 +86,7 @@ app.post('/getChat', (req, res) => {
}
if (Object.keys(chats).length === 0) {
res.status(100).send();
res.status(204).send();
return;
}