main
py 19 lines 556 Bytes
Raw
1 from fastapi import APIRouter
2
3 from app.customer_portal.routes.dashboard import customer_portal_dashboard_router
4 from app.customer_portal.routes.settings import customer_portal_settings_router
5
6 # Instantiate the APIRouter
7 router = APIRouter()
8
9 # Include the customer portal settings routes
10 router.include_router(
11 customer_portal_settings_router,
12 prefix="/customer_portal",
13 tags=["Customer Portal Settings"],
14 )
15 router.include_router(
16 customer_portal_dashboard_router,
17 prefix="/customer_portal",
18 tags=["Customer Portal Dashboard"],
19 )