Skip to content

Commit

Permalink
No Data Bug
Browse files Browse the repository at this point in the history
  • Loading branch information
jortilles committed Jul 28, 2023
1 parent 4173590 commit 7541276
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions eda/eda_api/lib/module/dashboard/dashboard.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit 7541276

Please sign in to comment.