Skip to content

Commit

Permalink
🐛 fix effort on app-issues report.
Browse files Browse the repository at this point in the history
Signed-off-by: Jeff Ortel <[email protected]>
  • Loading branch information
jortel committed Jul 17, 2024
1 parent 3ea1d8c commit 3feb06c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions api/analysis.go
Original file line number Diff line number Diff line change
Expand Up @@ -1300,7 +1300,7 @@ func (h AnalysisHandler) IssueAppReports(ctx *gin.Context) {
"app.Name",
"app.Description",
"b.Name BusinessService",
"a.Effort",
"i.Effort",
"COUNT(n.ID) Incidents",
"COUNT(distinct n.File) Files",
"i.ID IssueID",
Expand Down Expand Up @@ -1350,7 +1350,7 @@ func (h AnalysisHandler) IssueAppReports(ctx *gin.Context) {
r.Name = m.Name
r.Description = m.Description
r.BusinessService = m.BusinessService
r.Effort = m.Effort
r.Effort = m.Effort * m.Incidents
r.Incidents = m.Incidents
r.Files = m.Files
r.Issue.ID = m.IssueID
Expand Down

0 comments on commit 3feb06c

Please sign in to comment.