diff options
Diffstat (limited to 'models/org_team.go')
-rw-r--r-- | models/org_team.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/models/org_team.go b/models/org_team.go index db25e61547..115e13feab 100644 --- a/models/org_team.go +++ b/models/org_team.go @@ -143,7 +143,7 @@ func (t *Team) removeRepository(e Engine, repo *Repository, recalculate bool) (e if err != nil { return fmt.Errorf("getTeamUsersByTeamID: %v", err) } - for _, teamUser:= range teamUsers { + for _, teamUser := range teamUsers { has, err := hasAccess(e, teamUser.UID, repo, AccessModeRead) if err != nil { return err |