Skip to content

Commit fdcaacc

Browse files
committed
[#605] Fix the Deployments json fields to be updated_at, not pushed_at
1 parent 963882b commit fdcaacc

File tree

2 files changed

+10
-10
lines changed

2 files changed

+10
-10
lines changed

github/github-accessors.go

+8-8
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

github/repos_deployments.go

+2-2
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ type Deployment struct {
2323
Description *string `json:"description,omitempty"`
2424
Creator *User `json:"creator,omitempty"`
2525
CreatedAt *Timestamp `json:"created_at,omitempty"`
26-
UpdatedAt *Timestamp `json:"pushed_at,omitempty"`
26+
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
2727
StatusesURL *string `json:"statuses_url,omitempty"`
2828
RepositoryURL *string `json:"repository_url,omitempty"`
2929
}
@@ -137,7 +137,7 @@ type DeploymentStatus struct {
137137
Description *string `json:"description,omitempty"`
138138
TargetURL *string `json:"target_url,omitempty"`
139139
CreatedAt *Timestamp `json:"created_at,omitempty"`
140-
PushedAt *Timestamp `json:"pushed_at,omitempty"`
140+
UpdatedAt *Timestamp `json:"updated_at,omitempty"`
141141
DeploymentURL *string `json:"deployment_url,omitempty"`
142142
RepositoryURL *string `json:"repository_url,omitempty"`
143143
}

0 commit comments

Comments
 (0)