savenschedule working and delete issue in pateint page, add patint issue on dashboard and patient page

This commit is contained in:
2025-05-16 14:28:17 +05:30
parent 7727ad862c
commit fb6b28d3fb
7 changed files with 386 additions and 35 deletions

View File

@@ -200,6 +200,7 @@ router.delete(
await storage.deletePatient(patientId);
res.status(204).send();
} catch (error) {
console.error("Delete patient error:", error);
res.status(500).json({ message: "Failed to delete patient" });
}
}