Merge branch 'master' of github.com:Mintplex-Labs/anything-llm

This commit is contained in:
timothycarambat 2023-12-27 10:25:20 -08:00
commit 1a9a519afb

View file

@ -792,7 +792,7 @@ function systemEndpoints(app) {
try {
const { id } = request.params;
await WorkspaceChats.delete({ id: Number(id) });
response.status(200).json({ success, error });
response.sendStatus(200).end();
} catch (e) {
console.error(e);
response.sendStatus(500).end();