summaryrefslogtreecommitdiffstats
path: root/modules/convert/convert.go
diff options
context:
space:
mode:
Diffstat (limited to 'modules/convert/convert.go')
-rw-r--r--modules/convert/convert.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/modules/convert/convert.go b/modules/convert/convert.go
index f65e4b4fe2..d3b2e38165 100644
--- a/modules/convert/convert.go
+++ b/modules/convert/convert.go
@@ -249,6 +249,7 @@ func ToTeam(team *models.Team) *api.Team {
Name: team.Name,
Description: team.Description,
IncludesAllRepositories: team.IncludesAllRepositories,
+ CanCreateOrgRepo: team.CanCreateOrgRepo,
Permission: team.Authorize.String(),
Units: team.GetUnitNames(),
}