This commit is contained in:
MTG2000
2022-08-08 19:50:20 +03:00
parent a81a778667
commit 62d35f41ed

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' })
}
}