diff --git a/resources/Patients/PatientController.js b/resources/Patients/PatientController.js index 6419c4a..4f7d469 100644 --- a/resources/Patients/PatientController.js +++ b/resources/Patients/PatientController.js @@ -671,7 +671,7 @@ export const ChangePassword = async (req, res) => { } if (req.body.newPassword !== req.body.confirmPassword) { - return res.status(400).json({ message: 'old password and confirm Password does not match' }); + return res.status(400).json({ message: 'New password and confirm Password does not match' }); } patient.password = req.body.newPassword;