summaryrefslogtreecommitdiffstats
path: root/models/access.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/access.go')
-rw-r--r--models/access.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/access.go b/models/access.go
index d35b900cfd..5d0b0b06cf 100644
--- a/models/access.go
+++ b/models/access.go
@@ -246,7 +246,7 @@ func (repo *Repository) recalculateTeamAccesses(e Engine, ignTeamID int64) (err
return fmt.Errorf("refreshCollaboratorAccesses: %v", err)
}
- if err = repo.Owner.getTeams(e); err != nil {
+ if err = repo.Owner.loadTeams(e); err != nil {
return err
}