Skip to content

Commit

Permalink
BranchingModel: use_mainbranch field is required in JSON
Browse files Browse the repository at this point in the history
  • Loading branch information
Barry Hart committed May 14, 2024
1 parent 3c7b99e commit 3146d63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bitbucket/resource_branching_model.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ type BranchingModel struct {
type BranchModel struct {
IsValid bool `json:"is_valid,omitempty"`
Name *string `json:"name"`
UseMainbranch bool `json:"use_mainbranch,omitempty"`
UseMainbranch bool `json:"use_mainbranch"`
BranchDoesNotExist bool `json:"branch_does_not_exist,omitempty"`
Enabled bool `json:"enabled,omitempty"`
}
Expand Down

0 comments on commit 3146d63

Please sign in to comment.