Skip to content
This repository was archived by the owner on Jun 8, 2019. It is now read-only.

Commit 87e4334

Browse files
roblablaunknwon
authored andcommitted
Add optional MaxRepoCreation field to EditUserOption (#22)
1 parent 1fef67c commit 87e4334

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

admin_user.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@ type EditUserOption struct {
4141
Admin *bool `json:"admin"`
4242
AllowGitHook *bool `json:"allow_git_hook"`
4343
AllowImportLocal *bool `json:"allow_import_local"`
44+
MaxRepoCreation *int `json:"max_repo_creation"`
4445
}
4546

4647
func (c *Client) AdminEditUser(user string, opt EditUserOption) error {

0 commit comments

Comments
 (0)