include populate in the script fetch for simplification

This commit is contained in:
lightling 2024-10-14 18:59:52 -04:00
parent c770c54268
commit 890434ce63

View file

@ -29,6 +29,8 @@ const mapper = (inVal) => {
console.log('Invalid URL. Quitting...');
rl.close();
return;
} else if (!fetchUrl.includes('?')) {
fetchUrl += '?populate[0]=entries&populate[1]=entries.variants&populate[2]=tags&populate[3]=tags.value'
}
}