From 0d126f6496f3a7fbd362b693ed7cbaf729b62143 Mon Sep 17 00:00:00 2001 From: pawan-dot <71133473+pawan-dot@users.noreply.github.com> Date: Mon, 8 Jul 2024 12:23:50 +0530 Subject: [PATCH] change mobile number Update Profile get Profile etc --- resources/Patients/PatientController.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;