Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ export class PanelPositionModule {
.apply(AuthMiddleware)
.forRoutes(
{ path: '/dashboard/:dashboardId/widget/:connectionId', method: RequestMethod.POST },
{ path: '/dashboard/:dashboardId/widget/generate/:connectionId', method: RequestMethod.POST },
{ path: '/widget/generate/:connectionId', method: RequestMethod.POST },
Copy link

Copilot AI Feb 27, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The route path has been changed from /dashboard/:dashboardId/widget/generate/:connectionId to /widget/generate/:connectionId, but the frontend code at frontend/src/app/services/dashboards.service.ts:149 still references the old path. This will cause API calls from the frontend to fail with 404 errors. The frontend code must be updated to use the new route path /widget/generate/${connectionId} instead of /dashboard/${dashboardId}/widget/generate/${connectionId}.

Copilot uses AI. Check for mistakes.
{ path: '/dashboard/generate-table-dashboard/:connectionId', method: RequestMethod.POST },
{ path: '/dashboard/:dashboardId/widget/:widgetId/:connectionId', method: RequestMethod.PUT },
{ path: '/dashboard/:dashboardId/widget/:widgetId/:connectionId', method: RequestMethod.DELETE },
Expand Down
Loading