Open Luson045 opened 3 hours ago
So, I made this feature of appointment booking, where users can book appointment, here are the screenshots 1) User Panel 2)Hospital Panel
This is the user profile page
now whenever the hospital deletes/ mark as done then it should be updated in the user database too
but it's not working, whenever the appointment is deleted from the hospital database it remains in the user database.
Fix this issue as described above
reference files - Frontend ---> HospitalPanal.jsx, Profile.jsx, Backend------>index.js in hospital and user files , DB Models---> server/models
So, I made this feature of appointment booking, where users can book appointment, here are the screenshots 1) User Panel 2)Hospital Panel
This is the user profile page
now whenever the hospital deletes/ mark as done then it should be updated in the user database too
but it's not working, whenever the appointment is deleted from the hospital database it remains in the user database.
Fix this issue as described above
reference files - Frontend ---> HospitalPanal.jsx, Profile.jsx, Backend------>index.js in hospital and user files , DB Models---> server/models