Skip to content

Commit

Permalink
Merge pull request #204 from barrywhart/fix-issue-167-use_mainbranch-…
Browse files Browse the repository at this point in the history
…field-required-in-api-request

BranchingModel: use_mainbranch field is required in JSON
  • Loading branch information
DrFaust92 authored May 17, 2024
2 parents 1e43554 + 3146d63 commit 3bf2b3a
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 3bf2b3a

Please sign in to comment.