diff --git a/server/src/controllers/individual-controller.js b/server/src/controllers/individual-controller.js index 782e014..7da5ea4 100644 --- a/server/src/controllers/individual-controller.js +++ b/server/src/controllers/individual-controller.js @@ -34,7 +34,9 @@ module.exports = { res.status(202).send(data); } catch (error) { console.log(error); - res.status(500).send({ message: 'Terjadi Kesalahan pada Server' }); + res + .status(500) + .send({ message: 'Terjadi Kesalahan pada Server', status: 500 }); } }, };