fix: one more endpoint

This commit is contained in:
2022-04-06 14:03:45 +02:00
parent 06f758fcd1
commit 884ce6025d
+1 -1
View File
@@ -193,7 +193,7 @@ router.get('/groupchats/:target', async function (req, res) {
groupInfo.updated = dres.rows[0].updated;
res.send(JSON.stringify(groupInfo));
} else {
res.status(404).json(null);
res.status(410).json({status:"groupchat not found - probably deleted"});
}
} else {
res.status(500).json(derr);