updated log

This commit is contained in:
2025-05-19 09:42:27 +05:30
parent 27096a5340
commit b46824ff98

View File

@@ -216,7 +216,6 @@ router.put(
// Validate request body // Validate request body
const appointmentData = updateAppointmentSchema.parse(req.body); const appointmentData = updateAppointmentSchema.parse(req.body);
console.log("Validated appointment update data:", appointmentData);
// If patient ID is being updated, verify the new patient belongs to user // If patient ID is being updated, verify the new patient belongs to user
if ( if (
@@ -282,7 +281,6 @@ router.put(
appointmentId, appointmentId,
appointmentData appointmentData
); );
console.log("Appointment updated successfully:", updatedAppointment);
res.json(updatedAppointment); res.json(updatedAppointment);
} catch (error) { } catch (error) {
console.error("Error updating appointment:", error); console.error("Error updating appointment:", error);