Only pull specific list of fields for cohort project data

This commit is contained in:
Max Wofford 2024-08-21 10:43:16 -04:00
parent 070ee7a21b
commit 41aa91cd06

View file

@ -32,8 +32,10 @@ async function getShowcases(cohort) {
]
const showcases = await airtable.read({
filterByFormula: `OR(${showcaseFormula.join(', ')})`
filterByFormula: `OR(${showcaseFormula.join(', ')})`,
fields: ['Name', 'Code Link', 'Play Link', 'Description', 'color', 'textColor', 'ScreenshotLink', 'ReadMeLink', 'View link'],
})
return showcases
}