mirror of
https://github.com/techgaun/active-forks.git
synced 2024-11-13 07:41:10 +01:00
Fetch 100 records (#14)
This commit is contained in:
parent
dadc89618d
commit
4ba7536121
1 changed files with 1 additions and 1 deletions
|
@ -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 )
|
||||
|
|
Loading…
Reference in a new issue