Skip to content

Commit bb49f71

Browse files
authored
Merge pull request #103 from spacelift-io/v5
Add missing ID for Project
2 parents cb4aa3d + 743f78a commit bb49f71

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

gitlab/payload.go

+3
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ type PushEventPayload struct {
6767
CheckoutSHA string `json:"checkout_sha"`
6868
UserID int64 `json:"user_id"`
6969
UserName string `json:"user_name"`
70+
UserUsername string `json:"user_username"`
7071
UserEmail string `json:"user_email"`
7172
UserAvatar string `json:"user_avatar"`
7273
ProjectID int64 `json:"project_id"`
@@ -85,6 +86,7 @@ type TagEventPayload struct {
8586
CheckoutSHA string `json:"checkout_sha"`
8687
UserID int64 `json:"user_id"`
8788
UserName string `json:"user_name"`
89+
UserUsername string `json:"user_username"`
8890
UserAvatar string `json:"user_avatar"`
8991
ProjectID int64 `json:"project_id"`
9092
Project Project `json:"Project"`
@@ -281,6 +283,7 @@ type User struct {
281283

282284
// Project contains all of the GitLab project information
283285
type Project struct {
286+
ID int64 `json:"id"`
284287
Name string `json:"name"`
285288
Description string `json:"description"`
286289
WebURL string `json:"web_url"`

0 commit comments

Comments
 (0)