Refactor API endpoints to use /api/dashboard instead of /api/console
- Updated all relevant API functions in agent.ts, company.ts, customer-contact.ts, customer.ts, dashboard.ts, ticket-config.ts, and ticket.ts to point to the new /api/dashboard paths. - Ensured that all request methods and payload structures remain unchanged to maintain existing functionality.
This commit is contained in:
@@ -181,7 +181,7 @@ flowchart TD
|
||||
│ ├── models/ # GORM models
|
||||
│ ├── migration/ # data migrations
|
||||
│ └── ai/ # LLM / RAG / MCP related logic
|
||||
├── web/ # admin console (Next.js)
|
||||
├── dashboard/ # dashboard (Next.js)
|
||||
├── widget/ # embeddable customer chat widget
|
||||
├── config/ # config files
|
||||
└── docs/ # project docs
|
||||
|
||||
Reference in New Issue
Block a user