mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-06 21:07:06 +02:00
Fix create team, update team missing units (#5188)
This commit is contained in:
1 parent
d487a76ee2
commit
b3000ae623
7 files changed
+128
-2
No files matched your search
@@ -198,5 +198,6 @@ func ToTeam(team *models.Team) *api.Team {
|
||||
Name: team.Name,
|
||||
Description: team.Description,
|
||||
Permission: team.Authorize.String(),
|
||||
Units: team.GetUnitNames(),
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user