Skip to content

Commit

Permalink
revert changes in google#1530
Browse files Browse the repository at this point in the history
  • Loading branch information
anGie44 committed Jul 9, 2020
1 parent c4f1bb0 commit 934a52c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions github/repos.go
Original file line number Diff line number Diff line change
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 934a52c

Please sign in to comment.