From cc63869891e66a5888686d1efdd07bb3e34cd225 Mon Sep 17 00:00:00 2001 From: Marcin Wyszynski Date: Mon, 30 Mar 2020 14:52:52 +0200 Subject: [PATCH 1/3] Add missing ID for Project --- gitlab/payload.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab/payload.go b/gitlab/payload.go index c2c2b8a..130960b 100644 --- a/gitlab/payload.go +++ b/gitlab/payload.go @@ -281,6 +281,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"` From a4dc35a54d5363ba3d1ce069face21dee04a3ec0 Mon Sep 17 00:00:00 2001 From: Grzegorz Korzeniowski Date: Thu, 9 Apr 2020 15:14:43 +0200 Subject: [PATCH 2/3] Add missing UserUsername in PushEventPayload --- gitlab/payload.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab/payload.go b/gitlab/payload.go index 130960b..27de56b 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"` From 743f78a93d8507a4034c23ac4836fcde17328fa4 Mon Sep 17 00:00:00 2001 From: Grzegorz Korzeniowski Date: Wed, 15 Apr 2020 15:23:23 +0200 Subject: [PATCH 3/3] Add missing UserUsername in TagEventPayload --- gitlab/payload.go | 1 + 1 file changed, 1 insertion(+) diff --git a/gitlab/payload.go b/gitlab/payload.go index 27de56b..4291dfd 100644 --- a/gitlab/payload.go +++ b/gitlab/payload.go @@ -86,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"`