mirror of
https://github.com/vitalityAI/therapist.git
synced 2025-04-19 02:50:17 -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) {
|
} catch (e) {
|
||||||
console.log(e);
|
console.log(e);
|
||||||
res.status(500).send("Operator creation failed.");
|
return res.status(500).send("Operator creation failed.");
|
||||||
}
|
}
|
||||||
|
|
||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user