From 4e2ee4c5b1fef6ae76419fabd0696c95860ce38b Mon Sep 17 00:00:00 2001 From: Sasha Zezulinsky <188990923+sasha-bitfly@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:19:07 +0000 Subject: [PATCH] hourly, daily, weekly columns --- backend/pkg/api/data_access/vdb_summary.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/backend/pkg/api/data_access/vdb_summary.go b/backend/pkg/api/data_access/vdb_summary.go index b2ed05814..e8dfe7f65 100644 --- a/backend/pkg/api/data_access/vdb_summary.go +++ b/backend/pkg/api/data_access/vdb_summary.go @@ -1013,13 +1013,13 @@ func (d *DataAccessService) GetValidatorDashboardSummaryChart(ctx context.Contex dateColumn = "epoch_timestamp" case enums.IntervalHourly: dataTable = "validator_dashboard_data_hourly" - dateColumn = "hour" + dateColumn = "hourly" case enums.IntervalDaily: dataTable = "validator_dashboard_data_daily" - dateColumn = "day" + dateColumn = "daily" case enums.IntervalWeekly: dataTable = "validator_dashboard_data_weekly" - dateColumn = "week" + dateColumn = "weekly" default: return nil, fmt.Errorf("unexpected aggregation type: %v", aggregation) }