diff options
Diffstat (limited to 'services/convert/convert.go')
-rw-r--r-- | services/convert/convert.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/services/convert/convert.go b/services/convert/convert.go index 16daad849b..5f2100a039 100644 --- a/services/convert/convert.go +++ b/services/convert/convert.go @@ -304,7 +304,7 @@ func ToTeams(ctx context.Context, teams []*organization.Team, loadOrgs bool) ([] cache := make(map[int64]*api.Organization) apiTeams := make([]*api.Team, len(teams)) for i := range teams { - if err := teams[i].GetUnits(); err != nil { + if err := teams[i].LoadUnits(ctx); err != nil { return nil, err } |