Skip to content

Commit 065b7fe

Browse files
committed
fix lint
1 parent ec75674 commit 065b7fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/connector/team.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ func (o *teamResourceType) List(ctx context.Context, parentID *v2.ResourceId, pt
104104
}
105105

106106
for _, team := range teams {
107-
fullTeam, _, err := o.client.Teams.GetTeamByID(ctx, orgID, team.GetID())
107+
fullTeam, _, err := o.client.Teams.GetTeamByID(ctx, orgID, team.GetID()) //nolint:staticcheck // TODO: migrate to GetTeamBySlug
108108
if err != nil {
109109
if isNotFoundError(resp) {
110110
return nil, "", nil, uhttp.WrapErrors(codes.NotFound, fmt.Sprintf("team: %d not found", team.GetID()))

0 commit comments

Comments
 (0)