From 31d5ad89746135884205002d6bbfbb9b63282812 Mon Sep 17 00:00:00 2001 From: James Date: Thu, 30 Apr 2020 13:16:22 -0500 Subject: [PATCH] Use per_page on GH API call Co-authored-by: rex.tsou --- js/contributors.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/contributors.js b/js/contributors.js index 362a047..24ebd43 100644 --- a/js/contributors.js +++ b/js/contributors.js @@ -1,7 +1,7 @@ function getContributors(page) { if (window.jQuery) { const container = $('#contributors'); - jQuery.ajax(`https://api.github.com/repos/mikebryant/ac-nh-turnip-prices/contributors?page=${page}`, {}) + jQuery.ajax(`https://api.github.com/repos/mikebryant/ac-nh-turnip-prices/contributors?page=${page}&per_page=100`, {}) .done(function (data) { if (data.length === 0) { return;