Spaces:
Sleeping
Sleeping
Update api/__init__.py
Browse files- api/__init__.py +3 -3
api/__init__.py
CHANGED
|
@@ -9,9 +9,9 @@ def get_router():
|
|
| 9 |
from .routes.pdf import pdf
|
| 10 |
|
| 11 |
# Include sub-routers
|
| 12 |
-
router.include_router(auth
|
| 13 |
-
router.include_router(patients
|
| 14 |
-
router.include_router(pdf
|
| 15 |
|
| 16 |
return router
|
| 17 |
|
|
|
|
| 9 |
from .routes.pdf import pdf
|
| 10 |
|
| 11 |
# Include sub-routers
|
| 12 |
+
router.include_router(auth, prefix="/auth", tags=["auth"]) # Use 'auth' directly
|
| 13 |
+
router.include_router(patients, prefix="/ehr", tags=["patients"]) # Use 'patients' directly
|
| 14 |
+
router.include_router(pdf, prefix="/ehr/patients", tags=["pdf"]) # Use 'pdf' directly
|
| 15 |
|
| 16 |
return router
|
| 17 |
|