Skip to content

Commit

Permalink
πŸŒ‹ Fix a bug that overides the query parameter
Browse files Browse the repository at this point in the history
Signed-off-by: Venu Vardhan Reddy Tekula <vt2182@nyu.edu>
  • Loading branch information
vchrombie committed Apr 30, 2024
1 parent 570135b commit 6a99e4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion script.js
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ function displayUserStats(repo, username, userDetails, stats) {
}

async function processItems(repo, endpoint, authors, updateFunction) {
let url = `https://api.github.com/repos/${repo}/${endpoint}?per_page=100`;
let url = `https://api.github.com/repos/${repo}/${endpoint}`;
while (url) {
const response = await fetch(url);
if (!response.ok) {
Expand Down

0 comments on commit 6a99e4b

Please sign in to comment.