diff --git a/backend/src/controllers/doctor.controller.js b/backend/src/controllers/doctor.controller.js index e51c8aa..38b42a3 100644 --- a/backend/src/controllers/doctor.controller.js +++ b/backend/src/controllers/doctor.controller.js @@ -360,7 +360,7 @@ export const updateDoctor = async (req, res) => { ogImage, specializations, } = req.body; - console.log({image}); + if (!doctorId) { return res.status(400).json({ success: false,