diff --git a/server/src/controllers/client-controller.js b/server/src/controllers/client-controller.js index 8cb667a..4c77859 100644 --- a/server/src/controllers/client-controller.js +++ b/server/src/controllers/client-controller.js @@ -57,7 +57,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 }); } }, };