Debug fetch-contributors

This commit is contained in:
Sidharth Vinod 2023-05-09 09:56:40 +05:30
parent 45139470a3
commit bd53e9d449
No known key found for this signature in database
GPG Key ID: FB5CCD378D3907CD
1 changed files with 2 additions and 0 deletions

View File

@ -23,6 +23,8 @@ async function fetchContributors() {
}
);
data = await response.json();
console.log(response.status, response.statusText);
console.log(data);
collaborators.push(...data.map((i) => i.login));
page++;
} while (data.length === 100);