mirror of
https://github.com/go-gitea/gitea.git
synced 2026-09-02 02:53:23 +09:00
Change code for adding all repositories
Signed-off-by: David Svantesson <davidsvantesson@gmail.com>
This commit is contained in:
@@ -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
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user