Skip to content

Commit

Permalink
Revert changes in #1530 (#1571)
Browse files Browse the repository at this point in the history
  • Loading branch information
anGie44 committed Jul 16, 2020
1 parent c4f1bb0 commit e881974
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/repos.go
Expand Up @@ -864,9 +864,9 @@ type BranchRestrictions struct {
// different from the response structure.
type BranchRestrictionsRequest struct {
// The list of user logins with push access. (Required; use []string{} instead of nil for empty list.)
Users []string `json:"users,omitempty"`
Users []string `json:"users"`
// The list of team slugs with push access. (Required; use []string{} instead of nil for empty list.)
Teams []string `json:"teams,omitempty"`
Teams []string `json:"teams"`
// The list of app slugs with push access.
Apps []string `json:"apps,omitempty"`
}
Expand Down

0 comments on commit e881974

Please sign in to comment.