Skip to content

Commit

Permalink
fix: fixed bug on paginated response from cloudsource list api.(#19)
Browse files Browse the repository at this point in the history
Signed-off-by: Sudipto Baral <sudiptobaral.me@gmail.com>
  • Loading branch information
sudiptob2 authored and mshudrak committed Feb 24, 2023
1 parent 2ae064f commit 6539f90
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/gcp_scanner/crawl.py
Original file line number Diff line number Diff line change
Expand Up @@ -1031,7 +1031,7 @@ def list_sourcerepo(project_id: str, credentials: Credentials) -> List[Any]:
response = request.execute()
list_of_repos.append(response.get("repos", None))

request = service.services().list_next(
request = service.projects().repos().list_next(
previous_request=request,
previous_response=response
)
Expand Down

0 comments on commit 6539f90

Please sign in to comment.