From 36b4755eb0608e3710f80ef5ac3e6cfdf34a7a82 Mon Sep 17 00:00:00 2001 From: Sasha Zezulinsky <188990923+sasha-bitfly@users.noreply.github.com> Date: Tue, 17 Dec 2024 09:37:52 +0000 Subject: [PATCH] column name is t for hourly, daily and weekly intervals --- 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 e8dfe7f65..da45182d4 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 = "hourly" + dateColumn = "t" case enums.IntervalDaily: dataTable = "validator_dashboard_data_daily" - dateColumn = "daily" + dateColumn = "t" case enums.IntervalWeekly: dataTable = "validator_dashboard_data_weekly" - dateColumn = "weekly" + dateColumn = "t" default: return nil, fmt.Errorf("unexpected aggregation type: %v", aggregation) }