Fetch 100 records
This commit is contained in:
parent
0eb199559e
commit
3196e50da0
|
@ -78,7 +78,7 @@ function initDT() {
|
|||
|
||||
function fetchAndShow( repo ) {
|
||||
|
||||
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 New Issue