diff --git a/halfapi/lib/domain.py b/halfapi/lib/domain.py index 134f6f1..ca1358d 100644 --- a/halfapi/lib/domain.py +++ b/halfapi/lib/domain.py @@ -263,7 +263,8 @@ def router_acls(route_params: Dict, path: List, m_router: ModuleType) -> Generat def domain_acls(m_router, path): if not hasattr(m_router, 'ROUTES'): logger.error('Missing *ROUTES* constant in *%s*', m_router.__name__) - raise Exception(f'No ROUTES constant for {m_router.__name__}') + #raise Exception(f'No ROUTES constant for {m_router.__name__}') + return routes = m_router.ROUTES