update MergeRequestEvent payload with Project, Repo objects from the API

This commit is contained in:
lukepatrick
2018-02-14 12:45:52 -07:00
parent 9494e434fc
commit 9cafa895ff
2 changed files with 132 additions and 67 deletions
+2
View File
@@ -54,6 +54,8 @@ type MergeRequestEventPayload struct {
User User `json:"user"`
ObjectAttributes ObjectAttributes `json:"object_attributes"`
Changes Changes `json:"changes"`
Project Project `json:"project"`
Repository Repository `json:"repository"`
}
// PushEventPayload contains the information for GitLab's push event