Skip to content

Commit

Permalink
fix(api): add ref to dashboard build partial
Browse files Browse the repository at this point in the history
  • Loading branch information
KellyMerrick committed Jul 17, 2024
1 parent bc77ee7 commit 8787e0d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions api/dashboard/get.go
Original file line number Diff line number Diff line change
Expand Up @@ -116,6 +116,7 @@ func buildRepoPartials(c context.Context, repos []*types.DashboardRepo) ([]types
Status: build.GetStatus(),
Started: build.GetStarted(),
Finished: build.GetFinished(),
Ref: build.GetRef(),
Sender: build.GetSender(),
Branch: build.GetBranch(),
Event: build.GetEvent(),
Expand Down
1 change: 1 addition & 0 deletions api/types/dashboard.go
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ type BuildPartial struct {
Started int64 `json:"started,omitempty"`
Finished int64 `json:"finished,omitempty"`
Sender string `json:"sender,omitempty"`
Ref string `json:"ref,omitempty"`
Status string `json:"status,omitempty"`
Event string `json:"event,omitempty"`
Branch string `json:"branch,omitempty"`
Expand Down

0 comments on commit 8787e0d

Please sign in to comment.