mirror of
https://github.com/go-gitea/gitea
synced 2025-07-23 18:58:38 +00:00
Fix create team, update team missing units (#5188)
This commit is contained in:
committed by
techknowlogick
parent
d487a76ee2
commit
b3000ae623
@@ -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