From 87e433464c1f5e98e7208123c15b78119776fb83 Mon Sep 17 00:00:00 2001 From: Robin Lambertz Date: Thu, 11 Aug 2016 20:46:49 +0200 Subject: [PATCH] Add optional MaxRepoCreation field to EditUserOption (#22) --- admin_user.go | 1 + 1 file changed, 1 insertion(+) diff --git a/admin_user.go b/admin_user.go index d235a57..459031d 100644 --- a/admin_user.go +++ b/admin_user.go @@ -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 {