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
|
// StatusPayload contains the information for GitHub's status hook event
|
||||||
type StatusPayload struct {
|
type StatusPayload struct {
|
||||||
ID int64 `json:"id"`
|
ID int64 `json:"id"`
|
||||||
NodeID string `json:"node_id"`
|
|
||||||
Sha string `json:"sha"`
|
Sha string `json:"sha"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
TargetURL *string `json:"target_url"`
|
TargetURL *string `json:"target_url"`
|
||||||
@@ -5337,6 +5336,7 @@ type StatusPayload struct {
|
|||||||
Description *string `json:"description"`
|
Description *string `json:"description"`
|
||||||
State string `json:"state"`
|
State string `json:"state"`
|
||||||
Commit struct {
|
Commit struct {
|
||||||
|
NodeID string `json:"node_id"`
|
||||||
Sha string `json:"sha"`
|
Sha string `json:"sha"`
|
||||||
Commit struct {
|
Commit struct {
|
||||||
Author struct {
|
Author struct {
|
||||||
|
|||||||
Reference in New Issue
Block a user