diff options
| author | Adam Soltys <[email protected]> | 2022-09-05 21:08:53 -0700 |
|---|---|---|
| committer | Adam Soltys <[email protected]> | 2022-09-05 21:08:53 -0700 |
| commit | 8a82c69419dc358fbaeab322c32d18ee84656feb (patch) | |
| tree | df71a4f11a16d241a38c30e6841fe199725bc7fb /routes/liquid/send.js | |
| parent | a3bcd415de65a6ae14ea451d7d1c8f3f136e99d4 (diff) | |
| download | coinos-server-8a82c69419dc358fbaeab322c32d18ee84656feb.tar.gz coinos-server-8a82c69419dc358fbaeab322c32d18ee84656feb.zip | |
missing imports and fastify err responses
Diffstat (limited to 'routes/liquid/send.js')
| -rw-r--r-- | routes/liquid/send.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/routes/liquid/send.js b/routes/liquid/send.js index 70d858e6..2e91f013 100644 --- a/routes/liquid/send.js +++ b/routes/liquid/send.js @@ -257,6 +257,6 @@ export default async (req, res) => { res.send(await sendLiquid({ ...req.body, user })); } catch (e) { err("problem sending liquid", user.username, e.message); - return res.status(500).send(e); + return res.code(500).send(e); } }; |
