Move node_id field from status to status.commit in StatusEvent
This commit is contained in:
+1
-1
@@ -5329,7 +5329,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"`
|
||||
@@ -5337,6 +5336,7 @@ type StatusPayload struct {
|
||||
Description *string `json:"description"`
|
||||
State string `json:"state"`
|
||||
Commit struct {
|
||||
NodeID string `json:"node_id"`
|
||||
Sha string `json:"sha"`
|
||||
Commit struct {
|
||||
Author struct {
|
||||
|
||||
Reference in New Issue
Block a user