Skip to content

Commit 3bf2b3a

Browse files
authored
Merge pull request #204 from barrywhart/fix-issue-167-use_mainbranch-field-required-in-api-request
BranchingModel: use_mainbranch field is required in JSON
2 parents 1e43554 + 3146d63 commit 3bf2b3a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

bitbucket/resource_branching_model.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ type BranchingModel struct {
2525
type BranchModel struct {
2626
IsValid bool `json:"is_valid,omitempty"`
2727
Name *string `json:"name"`
28-
UseMainbranch bool `json:"use_mainbranch,omitempty"`
28+
UseMainbranch bool `json:"use_mainbranch"`
2929
BranchDoesNotExist bool `json:"branch_does_not_exist,omitempty"`
3030
Enabled bool `json:"enabled,omitempty"`
3131
}

0 commit comments

Comments
 (0)