Fetch 100 records (#14)

This commit is contained in:
Syed Umair 2018-10-30 08:38:33 +05:30 committed by Samar Dhwoj Acharya
parent dadc89618d
commit 4ba7536121
1 changed files with 1 additions and 1 deletions

View File

@ -82,7 +82,7 @@ function fetchAndShow( repo ) {
repo = repo.replace('http://github.com/', '');
repo = repo.replace('.git', '');
fetch( `https://api.github.com/repos/${repo}/forks?sort=stargazers` )
fetch( `https://api.github.com/repos/${repo}/forks?sort=stargazers&per_page=100` )
.then( ( response ) => {
if ( !response.ok )
throw Error( response.statusText )