Add optional MaxRepoCreation field to EditUserOption (#22)

This commit is contained in:
Robin Lambertz 2016-08-11 20:46:49 +02:00 committed by 无闻
parent 1fef67c191
commit 87e433464c

View file

@ -41,6 +41,7 @@ type EditUserOption struct {
Admin *bool `json:"admin"`
AllowGitHook *bool `json:"allow_git_hook"`
AllowImportLocal *bool `json:"allow_import_local"`
MaxRepoCreation *int `json:"max_repo_creation"`
}
func (c *Client) AdminEditUser(user string, opt EditUserOption) error {