Skip to content

Commit 3a4c94f

Browse files
authored
Merge pull request #59029 from github/repo-sync
Repo sync
2 parents 3dc67d8 + 42a2586 commit 3a4c94f

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

content/rest/using-the-rest-api/using-pagination-in-the-rest-api.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ const octokit = new Octokit({ {% ifversion ghes %}
127127
{% endif %}});
128128

129129
async function getPaginatedData(url) {
130-
const nextPattern = /(?<=<)([\S]*)(?=>; rel="Next")/i;
130+
const nextPattern = /(?<=<)([\S]*)(?=>; rel="next")/i;
131131
let pagesRemaining = true;
132132
let data = [];
133133

0 commit comments

Comments
 (0)