We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 01ba441 commit 42a2586Copy full SHA for 42a2586
content/rest/using-the-rest-api/using-pagination-in-the-rest-api.md
@@ -127,7 +127,7 @@ const octokit = new Octokit({ {% ifversion ghes %}
127
{% endif %}});
128
129
async function getPaginatedData(url) {
130
- const nextPattern = /(?<=<)([\S]*)(?=>; rel="Next")/i;
+ const nextPattern = /(?<=<)([\S]*)(?=>; rel="next")/i;
131
let pagesRemaining = true;
132
let data = [];
133
0 commit comments