Compare commits

..

No commits in common. "51f68d50211ed5235fb82008dd6789dae22507c3" and "7861f2131a8835d7f5b0307820aacb7d1ac0788b" have entirely different histories.

2 changed files with 2 additions and 4 deletions

View File

@ -6,9 +6,7 @@
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"start": "node index.js",
"dev": "nodemon index.js",
"build": "docker buildx bake",
"push": "docker buildx bake --push"
"dev": "nodemon index.js"
},
"keywords": [],
"author": "",

View File

@ -226,7 +226,7 @@ router.get("/", (req, res) => {
module.exports = router;
function sendError(err, res) {
console.error(err);
let errStatus = 500;
const errStatus = 500;
if (err.response) errStatus = err.response.status;
res.status(errStatus).send({
errors: [