api: raw stream status responses, clean up core

This commit is contained in:
wukko
2024-05-15 22:28:09 +06:00
parent 13524a4aa1
commit 98e05368ed
3 changed files with 98 additions and 107 deletions

View File

@@ -25,6 +25,6 @@ export default async function(res, streamInfo) {
break;
}
} catch {
res.status(500).json({ status: "error", text: "Internal Server Error" });
res.sendStatus(500);
}
}