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