Skip to content

Commit

Permalink
Merge pull request #85 from riley-martine/v5
Browse files Browse the repository at this point in the history
Move node_id field from status to status.commit in StatusEvent
  • Loading branch information
deankarn authored Jul 10, 2019
2 parents c86c1f1 + a9a686f commit cc33de4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion github/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -5335,7 +5335,6 @@ type SecurityAdvisoryPayload struct {
// StatusPayload contains the information for GitHub's status hook event
type StatusPayload struct {
ID int64 `json:"id"`
NodeID string `json:"node_id"`
Sha string `json:"sha"`
Name string `json:"name"`
TargetURL *string `json:"target_url"`
Expand All @@ -5344,6 +5343,7 @@ type StatusPayload struct {
State string `json:"state"`
Commit struct {
Sha string `json:"sha"`
NodeID string `json:"node_id"`
Commit struct {
Author struct {
Name string `json:"name"`
Expand Down

0 comments on commit cc33de4

Please sign in to comment.