Skip to content

Commit 650b40e

Browse files
committed
fix(github): correct pagination log to show last fetched page
Changed stopped_at_page to last_page_fetched (page - 1) since the logged value was the next page to fetch, not the last one retrieved.
1 parent 8336b69 commit 650b40e

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

backend/services/github.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ async def get_all_repos(
181181
"GitHub repo pagination stopped at limit",
182182
max_pages=max_pages,
183183
total_repos_fetched=len(all_repos),
184-
stopped_at_page=page
184+
last_page_fetched=page - 1
185185
)
186186
break
187187
return all_repos

0 commit comments

Comments
 (0)