| 1 | from fastapi import APIRouter |
| 2 | |
| 3 | from app.notifications.routes.notifications import notifications_router |
| 4 | |
| 5 | # Mount the notifications module under /api. Routes inside this router |
| 6 | # already declare full paths (e.g. /customers/{code}/notification_routes, |
| 7 | # /notifications/dispatch) so they end up at /api/customers/... and |
| 8 | # /api/notifications/dispatch — matching the existing module pattern. |
| 9 | router = APIRouter() |
| 10 | |
| 11 | router.include_router(notifications_router, tags=["notifications"]) |