Skip to content

Commit

Permalink
column name is t for hourly, daily and weekly intervals
Browse files Browse the repository at this point in the history
  • Loading branch information
sasha-bitfly committed Dec 17, 2024
1 parent 4e2ee4c commit 36b4755
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions backend/pkg/api/data_access/vdb_summary.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 36b4755

Please sign in to comment.