Skip to content

Commit 952cf56

Browse files
authored
fix: metrics endpoint (#1573)
Signed-off-by: Miguel Martinez <miguel@chainloop.dev>
1 parent 3fc7d25 commit 952cf56

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/controlplane/pkg/data/orgmetrics.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,7 +115,7 @@ func (repo *OrgMetricsRepo) RunsByRunnerTypeTotal(ctx context.Context, orgID uui
115115

116116
func (repo *OrgMetricsRepo) TopWorkflowsByRunsCount(ctx context.Context, orgID uuid.UUID, numWorkflows int, tw *biz.TimeWindow) ([]*biz.TopWorkflowsByRunsCountItem, error) {
117117
var runs []struct {
118-
WorkflowID string `json:"workflow_workflowruns"`
118+
WorkflowID string `json:"workflow_id"`
119119
State string
120120
Count int32
121121
}

0 commit comments

Comments
 (0)