Skip to content

Commit

Permalink
Merge pull request #650 from CircleCI-Public/list-orb-token-propagation
Browse files Browse the repository at this point in the history
Add user token to 'list-orb' graphQL requests
  • Loading branch information
kelvinkfli authored Nov 25, 2021
2 parents 7ce5387 + e768306 commit 566ad87
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions api/api.go
Original file line number Diff line number Diff line change
Expand Up @@ -1501,6 +1501,7 @@ query ListOrbs ($after: String!, $certifiedOnly: Boolean!) {

for {
request := graphql.NewRequest(query)
request.SetToken(cl.Token)
request.Var("after", currentCursor)
request.Var("certifiedOnly", !uncertified)

Expand Down

0 comments on commit 566ad87

Please sign in to comment.