Skip to content

Commit

Permalink
Merge pull request #4 from tokenguardio/feature/dashboard-handling
Browse files Browse the repository at this point in the history
fix compilation issues
  • Loading branch information
rrozek authored Feb 16, 2024
2 parents 065a62a + e9e6203 commit dee2e96
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/components/dashboard/dashboard.controller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -221,7 +221,8 @@ const prepareQueryPayload = (
max_date = formatDate(new Date());
break;
default:
return 'Invalid period';
min_date = '1970-01-01';
max_date = formatDate(new Date());
}

return { min_date, max_date };
Expand Down

0 comments on commit dee2e96

Please sign in to comment.