chore: fewer links

This commit is contained in:
Cory Dransfeldt 2024-02-16 14:09:47 -08:00
parent c5d3c3739f
commit c0d71c0eeb
No known key found for this signature in database

View file

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