Merge pull request #103 from spacelift-io/v5
Add missing ID for Project
This commit is contained in:
@@ -67,6 +67,7 @@ type PushEventPayload struct {
|
|||||||
CheckoutSHA string `json:"checkout_sha"`
|
CheckoutSHA string `json:"checkout_sha"`
|
||||||
UserID int64 `json:"user_id"`
|
UserID int64 `json:"user_id"`
|
||||||
UserName string `json:"user_name"`
|
UserName string `json:"user_name"`
|
||||||
|
UserUsername string `json:"user_username"`
|
||||||
UserEmail string `json:"user_email"`
|
UserEmail string `json:"user_email"`
|
||||||
UserAvatar string `json:"user_avatar"`
|
UserAvatar string `json:"user_avatar"`
|
||||||
ProjectID int64 `json:"project_id"`
|
ProjectID int64 `json:"project_id"`
|
||||||
@@ -85,6 +86,7 @@ type TagEventPayload struct {
|
|||||||
CheckoutSHA string `json:"checkout_sha"`
|
CheckoutSHA string `json:"checkout_sha"`
|
||||||
UserID int64 `json:"user_id"`
|
UserID int64 `json:"user_id"`
|
||||||
UserName string `json:"user_name"`
|
UserName string `json:"user_name"`
|
||||||
|
UserUsername string `json:"user_username"`
|
||||||
UserAvatar string `json:"user_avatar"`
|
UserAvatar string `json:"user_avatar"`
|
||||||
ProjectID int64 `json:"project_id"`
|
ProjectID int64 `json:"project_id"`
|
||||||
Project Project `json:"Project"`
|
Project Project `json:"Project"`
|
||||||
@@ -281,6 +283,7 @@ type User struct {
|
|||||||
|
|
||||||
// Project contains all of the GitLab project information
|
// Project contains all of the GitLab project information
|
||||||
type Project struct {
|
type Project struct {
|
||||||
|
ID int64 `json:"id"`
|
||||||
Name string `json:"name"`
|
Name string `json:"name"`
|
||||||
Description string `json:"description"`
|
Description string `json:"description"`
|
||||||
WebURL string `json:"web_url"`
|
WebURL string `json:"web_url"`
|
||||||
|
|||||||
Reference in New Issue
Block a user