Skip to content

Commit

Permalink
Fix GitLab webhook event Project field typo
Browse files Browse the repository at this point in the history
  • Loading branch information
lilincmu committed Jul 8, 2022
1 parent 4f72f9c commit 7da15a7
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions gitlab/payload.go
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ type PushEventPayload struct {
UserEmail string `json:"user_email"`
UserAvatar string `json:"user_avatar"`
ProjectID int64 `json:"project_id"`
Project Project `json:"Project"`
Project Project `json:"project"`
Repository Repository `json:"repository"`
Commits []Commit `json:"commits"`
TotalCommitsCount int64 `json:"total_commits_count"`
Expand All @@ -91,7 +91,7 @@ type TagEventPayload struct {
UserUsername string `json:"user_username"`
UserAvatar string `json:"user_avatar"`
ProjectID int64 `json:"project_id"`
Project Project `json:"Project"`
Project Project `json:"project"`
Repository Repository `json:"repository"`
Commits []Commit `json:"commits"`
TotalCommitsCount int64 `json:"total_commits_count"`
Expand Down

0 comments on commit 7da15a7

Please sign in to comment.