From 3146d63ad5086a4625495cb2e4dd84c89d1b62bb Mon Sep 17 00:00:00 2001 From: Barry Hart Date: Tue, 14 May 2024 09:34:10 -0400 Subject: [PATCH] BranchingModel: use_mainbranch field is required in JSON --- bitbucket/resource_branching_model.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bitbucket/resource_branching_model.go b/bitbucket/resource_branching_model.go index 3ca63e66..5a893f93 100644 --- a/bitbucket/resource_branching_model.go +++ b/bitbucket/resource_branching_model.go @@ -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"` }