Skip to content

Commit

Permalink
Add issue_number to aggregated data
Browse files Browse the repository at this point in the history
  • Loading branch information
jodyheavener committed Jun 7, 2024
1 parent 84177a6 commit bcb9820
Showing 1 changed file with 6 additions and 4 deletions.
10 changes: 6 additions & 4 deletions script/aggregator.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@ import (
)

type ProjectEntry struct {
Project Project `json:"project"`
CreatedAt time.Time `json:"created_at"`
Project Project `json:"project"`
IssueNumber int `json:"issue_number"`
CreatedAt time.Time `json:"created_at"`
}

type Aggregator struct {
Expand Down Expand Up @@ -47,8 +48,9 @@ func (a *Aggregator) Aggregate() {
}

projectEntry := ProjectEntry{
Project: app.Project,
CreatedAt: app.CreatedAt,
Project: app.Project,
IssueNumber: app.IssueNumber,
CreatedAt: app.CreatedAt,
}

projectsList = append(projectsList, projectEntry)
Expand Down

0 comments on commit bcb9820

Please sign in to comment.