diff --git a/gitlab/payload.go b/gitlab/payload.go index c2c2b8a..4291dfd 100644 --- a/gitlab/payload.go +++ b/gitlab/payload.go @@ -67,6 +67,7 @@ type PushEventPayload struct { CheckoutSHA string `json:"checkout_sha"` UserID int64 `json:"user_id"` UserName string `json:"user_name"` + UserUsername string `json:"user_username"` UserEmail string `json:"user_email"` UserAvatar string `json:"user_avatar"` ProjectID int64 `json:"project_id"` @@ -85,6 +86,7 @@ type TagEventPayload struct { CheckoutSHA string `json:"checkout_sha"` UserID int64 `json:"user_id"` UserName string `json:"user_name"` + UserUsername string `json:"user_username"` UserAvatar string `json:"user_avatar"` ProjectID int64 `json:"project_id"` Project Project `json:"Project"` @@ -281,6 +283,7 @@ type User struct { // Project contains all of the GitLab project information type Project struct { + ID int64 `json:"id"` Name string `json:"name"` Description string `json:"description"` WebURL string `json:"web_url"`