Skip to content

Commit

Permalink
Merge pull request xanzy#2004 from RicePatrick/fix-default-branch-typo
Browse files Browse the repository at this point in the history
Fix an issue with omitempty on default_branch_protection_defaults
  • Loading branch information
svanharmelen authored Sep 2, 2024
2 parents 6b15a3b + f1d37ee commit 658c4fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion groups.go
Original file line number Diff line number Diff line change
Expand Up @@ -393,7 +393,7 @@ type CreateGroupOptions struct {
type DefaultBranchProtectionDefaultsOptions struct {
AllowedToPush *[]*GroupAccessLevel `url:"allowed_to_push,omitempty" json:"allowed_to_push,omitempty"`
AllowForcePush *bool `url:"allow_force_push,omitempty" json:"allow_force_push,omitempty"`
AllowedToMerge *[]*GroupAccessLevel `url:"allowed_to_merge.omitempty" json:"allowed_to_merge.omitempty"`
AllowedToMerge *[]*GroupAccessLevel `url:"allowed_to_merge,omitempty" json:"allowed_to_merge,omitempty"`
DeveloperCanInitialPush *bool `url:"developer_can_initial_push,omitempty" json:"developer_can_initial_push,omitempty"`
}

Expand Down

0 comments on commit 658c4fd

Please sign in to comment.