This commit is contained in:
MTG2000
2022-08-08 19:49:26 +03:00
parent 940c4ba66c
commit e9bcff88d6

View File

@@ -106,6 +106,7 @@ const loginHandler = async (req, res) => {
return res.status(200).json({ status: "OK" })
} catch (error) {
console.log(error);
return res.status(400).json({ status: 'ERROR', reason: 'Unexpected error happened, please try again' })
}
}