Improve the frontend 5
This commit is contained in:
@@ -10,7 +10,7 @@ from app.core.database import database_manager
|
||||
from shared.service_base import StandardFastAPIService
|
||||
|
||||
# Import API routers
|
||||
from app.api import sales_records, sales_operations, analytics, internal_demo
|
||||
from app.api import sales_records, sales_operations, analytics, internal_demo, audit
|
||||
|
||||
|
||||
class SalesService(StandardFastAPIService):
|
||||
@@ -145,6 +145,8 @@ service.setup_standard_endpoints()
|
||||
service.setup_custom_endpoints()
|
||||
|
||||
# Include routers
|
||||
# IMPORTANT: Register audit router FIRST to avoid route matching conflicts
|
||||
service.add_router(audit.router)
|
||||
service.add_router(sales_records.router)
|
||||
service.add_router(sales_operations.router)
|
||||
service.add_router(analytics.router)
|
||||
|
||||
Reference in New Issue
Block a user