Skip to content

Commit

Permalink
Fixed export for teams (#1140)
Browse files Browse the repository at this point in the history
  • Loading branch information
BrianMoyles authored Jul 2, 2024
1 parent fb72a00 commit 2815938
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion genesyscloud/team/genesyscloud_team_proxy.go
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,7 @@ func createTeamFn(ctx context.Context, p *teamProxy, team *platformclientv2.Team
func getAllTeamFn(ctx context.Context, p *teamProxy, name string) (*[]platformclientv2.Team, *platformclientv2.APIResponse, error) {
var (
after string
err error
allTeams []platformclientv2.Team
response *platformclientv2.APIResponse
)
Expand All @@ -152,7 +153,7 @@ func getAllTeamFn(ctx context.Context, p *teamProxy, name string) (*[]platformcl
break
}

after, err := util.GetQueryParamValueFromUri(*teams.NextUri, "after")
after, err = util.GetQueryParamValueFromUri(*teams.NextUri, "after")
if err != nil {
return nil, resp, fmt.Errorf("unable to parse after cursor from teams next uri: %v", err)
}
Expand Down

0 comments on commit 2815938

Please sign in to comment.