Skip to content

Commit

Permalink
Merge pull request #1213 from stakwork/feat/display_metrics
Browse files Browse the repository at this point in the history
Display metrics
  • Loading branch information
elraphty authored Dec 29, 2023
2 parents fdf4499 + b69d598 commit 1b4dc08
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions db/structs.go
Original file line number Diff line number Diff line change
Expand Up @@ -395,6 +395,7 @@ type BountyData struct {
Person
AssigneeAlias string `json:"assignee_alias"`
AssigneeId uint `json:"assignee_id"`
AssigneeImg string `json:"assignee_img"`
AssigneeCreated *time.Time `json:"assignee_created"`
AssigneeUpdated *time.Time `json:"assignee_updated"`
AssigneeDescription string `json:"assignee_description"`
Expand Down
1 change: 1 addition & 0 deletions handlers/metrics.go
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ func GetMetricsBountiesData(metricBounties []db.Bounty) []db.BountyData {
BountyDescription: bounty.Description,
BountyUpdated: bounty.Updated,
AssigneeId: bountyAssignee.ID,
AssigneeImg: bountyAssignee.Img,
AssigneeAlias: bountyAssignee.OwnerAlias,
AssigneeDescription: bountyAssignee.Description,
AssigneeRouteHint: bountyAssignee.OwnerRouteHint,
Expand Down

0 comments on commit 1b4dc08

Please sign in to comment.