feat: featured doctor toggle

This commit is contained in:
Kailasdevdas
2026-06-24 16:43:14 +05:30
parent d0860a3be4
commit 5da63492ff
3 changed files with 47 additions and 6 deletions
+1 -1
View File
@@ -19,8 +19,8 @@ router.get('/getAll', getAllDoctors);
router.get('/search', getDoctorsByDepartmentId);
router.get('/getTimings', getDoctorTimings);
router.get('/getTimings/:doctorId', getDoctorTimingById);
router.get('/:doctorId', getDoctorByDoctorId);
router.get('/featured', getFeaturedDoctors);
router.get('/:doctorId', getDoctorByDoctorId);
router.post('/', jwtAuthMiddleware, createDoctor);
router.patch('/:doctorId/:action', jwtAuthMiddleware, updateDoctor);