mirror of
https://github.com/techgaun/active-forks.git
synced 2025-01-03 11:22:17 +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('http://github.com/', '');
|
||||||
repo = repo.replace('.git', '');
|
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 ) => {
|
.then( ( response ) => {
|
||||||
if ( !response.ok )
|
if ( !response.ok )
|
||||||
throw Error( response.statusText )
|
throw Error( response.statusText )
|
||||||
|
|
Loading…
Reference in a new issue