Skip to content

Commit

Permalink
Merge pull request #103 from spacelift-io/v5
Browse files Browse the repository at this point in the history
Add missing ID for Project
  • Loading branch information
Toshik1978 authored May 2, 2020
2 parents cb4aa3d + 743f78a commit bb49f71
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions gitlab/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -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"`
Expand All @@ -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"`
Expand Down Expand Up @@ -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"`
Expand Down

0 comments on commit bb49f71

Please sign in to comment.