chore: fewer links
This commit is contained in:
parent
c5d3c3739f
commit
c0d71c0eeb
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ export default async function () {
|
||||||
fullData.push(...data['results']);
|
fullData.push(...data['results']);
|
||||||
nextPageCursor = data['nextPageCursor']
|
nextPageCursor = data['nextPageCursor']
|
||||||
requestCount++;
|
requestCount++;
|
||||||
if (!nextPageCursor || requestCount === 20) break;
|
if (!nextPageCursor || requestCount === 5) break;
|
||||||
}
|
}
|
||||||
|
|
||||||
return formatLinkData(fullData).filter((link) => link.tags.includes('share'))
|
return formatLinkData(fullData).filter((link) => link.tags.includes('share'))
|
||||||
|
|
Reference in a new issue