Skip to content

Commit

Permalink
fixed type of the details -- it is optional
Browse files Browse the repository at this point in the history
  • Loading branch information
tandr committed Dec 10, 2019
1 parent 13acf0f commit 2f6fd98
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hubapi/projects-versions-api.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ type ProjectVersionPolicyStatus struct {
OverallStatus string `json:"overallStatus"`
UpdatedAt *time.Time `json:"updatedAt"`
StatusCounts []StatusCount `json:"componentVersionStatusCounts"`
PolicyViolationDetails PolicyViolationDetails `json:"componentVersionPolicyViolationDetails"`
PolicyViolationDetails *PolicyViolationDetails `json:"componentVersionPolicyViolationDetails"`
Meta Meta `json:"_meta"`
}

Expand Down

0 comments on commit 2f6fd98

Please sign in to comment.