summaryrefslogtreecommitdiffstats
path: root/models/organization/team_list.go
diff options
context:
space:
mode:
Diffstat (limited to 'models/organization/team_list.go')
-rw-r--r--models/organization/team_list.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/models/organization/team_list.go b/models/organization/team_list.go
index 5d3bd555cc..efb3104ad5 100644
--- a/models/organization/team_list.go
+++ b/models/organization/team_list.go
@@ -19,7 +19,7 @@ type TeamList []*Team
func (t TeamList) LoadUnits(ctx context.Context) error {
for _, team := range t {
- if err := team.getUnits(ctx); err != nil {
+ if err := team.LoadUnits(ctx); err != nil {
return err
}
}