1
1
mirror of https://github.com/go-gitea/gitea synced 2025-12-07 13:28:25 +00:00

Change code for adding all repositories

Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
This commit is contained in:
David Svantesson
2019-10-05 08:59:40 +02:00
parent 8f297caf26
commit 550cbccdff
4 changed files with 20 additions and 15 deletions
+1 -1
View File
@@ -198,7 +198,7 @@ func EditTeam(ctx *context.APIContext, form api.EditTeamOption) {
team.Units = units
}
if err := models.UpdateTeam(team, true); err != nil {
if err := models.UpdateTeam(team, true, true); err != nil {
ctx.Error(500, "EditTeam", err)
return
}