Skip to content

Commit efae47c

Browse files
committed
add changes field in to IssuesPayload and IssueCommentPayload of GitHub.
1 parent b616136 commit efae47c

File tree

1 file changed

+13
-0
lines changed

1 file changed

+13
-0
lines changed

github/payload.go

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1662,6 +1662,11 @@ type IssueCommentPayload struct {
16621662
Body string `json:"body"`
16631663
AuthorAssociation string `json:"author_association"`
16641664
} `json:"comment"`
1665+
Changes *struct {
1666+
Body *struct {
1667+
From string `json:"from"`
1668+
} `json:"body"`
1669+
} `json:"changes"`
16651670
Repository struct {
16661671
ID int64 `json:"id"`
16671672
NodeID string `json:"node_id"`
@@ -1826,6 +1831,14 @@ type IssuesPayload struct {
18261831
ClosedAt *time.Time `json:"closed_at"`
18271832
Body string `json:"body"`
18281833
} `json:"issue"`
1834+
Changes *struct {
1835+
Title *struct {
1836+
From string `json:"from"`
1837+
} `json:"title"`
1838+
Body *struct {
1839+
From string `json:"from"`
1840+
} `json:"body"`
1841+
} `json:"changes"`
18291842
Repository struct {
18301843
ID int64 `json:"id"`
18311844
NodeID string `json:"node_id"`

0 commit comments

Comments
 (0)