We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c4f1bb0 commit e881974Copy full SHA for e881974
github/repos.go
@@ -864,9 +864,9 @@ type BranchRestrictions struct {
864
// different from the response structure.
865
type BranchRestrictionsRequest struct {
866
// The list of user logins with push access. (Required; use []string{} instead of nil for empty list.)
867
- Users []string `json:"users,omitempty"`
+ Users []string `json:"users"`
868
// The list of team slugs with push access. (Required; use []string{} instead of nil for empty list.)
869
- Teams []string `json:"teams,omitempty"`
+ Teams []string `json:"teams"`
870
// The list of app slugs with push access.
871
Apps []string `json:"apps,omitempty"`
872
}
0 commit comments