Update SDK to include head_commit in PushPayload. (#131)

This commit is contained in:
Harshit Bansal 2018-11-28 04:26:25 +05:30 committed by Lauris BH
parent d95a6e0392
commit d9394234b9

View file

@ -371,6 +371,7 @@ type PushPayload struct {
After string `json:"after"` After string `json:"after"`
CompareURL string `json:"compare_url"` CompareURL string `json:"compare_url"`
Commits []*PayloadCommit `json:"commits"` Commits []*PayloadCommit `json:"commits"`
HeadCommit *PayloadCommit `json:"head_commit"`
Repo *Repository `json:"repository"` Repo *Repository `json:"repository"`
Pusher *User `json:"pusher"` Pusher *User `json:"pusher"`
Sender *User `json:"sender"` Sender *User `json:"sender"`