Fetch 100 records

This commit is contained in:
Syed-Umair 2018-10-11 03:15:51 +05:30
parent 0eb199559e
commit 3196e50da0
No known key found for this signature in database
GPG Key ID: 2F6E6F7C56E39572
1 changed files with 1 additions and 1 deletions

View File

@ -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 )