Skip to content

Commit

Permalink
Update index.js
Browse files Browse the repository at this point in the history
  • Loading branch information
SaikrishnaBairamoni authored Sep 5, 2024
1 parent f3aaa0d commit 4080690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code-gov/code-gov-repo-metrics/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ async function queryPullRequestsDeep(repoName, cursor, pullRequests) {

// Recurse if there are still more pull requests
if (dataJSON.repository.pullRequests.pageInfo.hasNextPage) {
return await queryIssuesDeep(repoName, dataJSON.repository.pullRequests.pageInfo.endCursor, pullRequests);
return await queryPullRequestsDeep(repoName, dataJSON.repository.pullRequests.pageInfo.endCursor, pullRequests);
}

return pullRequests;
Expand Down

0 comments on commit 4080690

Please sign in to comment.