Skip to content

Commit

Permalink
Fix field naming
Browse files Browse the repository at this point in the history
Co-authored-by: Yahav Itzhak <[email protected]>
  • Loading branch information
RemiBou and yahavi authored Dec 7, 2021
1 parent e0b7f40 commit 3442b44
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion vcsutils/webhookparser/webhookparser.go
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ type WebhookInfo struct {
// The target repository for pull requests and push
TargetRepositoryDetails WebHookInfoRepoDetails `json:"target_repository_details,omitempty"`
// The target branch for pull requests and push
Branch string `json:"branch,omitempty"`
TargetBranch string `json:"branch,omitempty"`
// Pull request id
PullRequestId int `json:"pull_request_id,omitempty"`
// The source repository for pull requests
Expand Down

0 comments on commit 3442b44

Please sign in to comment.