mirror of
https://github.com/vitalityAI/therapist.git
synced 2025-04-11 07:10:16 -04:00
fix: forgot to return a trycatch
This commit is contained in:
parent
70b9f22063
commit
4950ed0181
|
@ -17,7 +17,7 @@ app.post("/", async (req, res) => {
|
|||
});
|
||||
} catch (e) {
|
||||
console.log(e);
|
||||
res.status(500).send("Operator creation failed.");
|
||||
return res.status(500).send("Operator creation failed.");
|
||||
}
|
||||
|
||||
return res.status(200).json({
|
||||
|
|
Loading…
Reference in New Issue
Block a user