Ali2206 commited on
Commit
6c992a8
·
verified ·
1 Parent(s): 5174d20

Update api/__init__.py

Browse files
Files changed (1) hide show
  1. 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.router, prefix="/auth", tags=["auth"])
13
- router.include_router(patients.router, prefix="/ehr", tags=["patients"])
14
- router.include_router(pdf.router, prefix="/ehr/patients", tags=["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