diff --git a/eda/eda_api/lib/module/dashboard/dashboard.controller.ts b/eda/eda_api/lib/module/dashboard/dashboard.controller.ts index 1ac73e10..a656fe89 100644 --- a/eda/eda_api/lib/module/dashboard/dashboard.controller.ts +++ b/eda/eda_api/lib/module/dashboard/dashboard.controller.ts @@ -672,8 +672,8 @@ export class DashboardController { if (myQuery.fields.length == 0) { - console.log('you cannot see any data') - return res.status(200).json("[['noData'],[]]") + console.log('you cannot see any data'); + return res.status(200).json([['noData'],[[]]]); } const query = await connection.getQueryBuilded(