Add optional MaxRepoCreation field to EditUserOption (#22)
This commit is contained in:
parent
1fef67c191
commit
87e433464c
1 changed files with 1 additions and 0 deletions
|
@ -41,6 +41,7 @@ type EditUserOption struct {
|
||||||
Admin *bool `json:"admin"`
|
Admin *bool `json:"admin"`
|
||||||
AllowGitHook *bool `json:"allow_git_hook"`
|
AllowGitHook *bool `json:"allow_git_hook"`
|
||||||
AllowImportLocal *bool `json:"allow_import_local"`
|
AllowImportLocal *bool `json:"allow_import_local"`
|
||||||
|
MaxRepoCreation *int `json:"max_repo_creation"`
|
||||||
}
|
}
|
||||||
|
|
||||||
func (c *Client) AdminEditUser(user string, opt EditUserOption) error {
|
func (c *Client) AdminEditUser(user string, opt EditUserOption) error {
|
||||||
|
|
Loading…
Reference in a new issue