Function declarations are not allowed inside blocks in strict mode when targeting 'ES3' or 'ES5'. Modules are automatically in strict mode.
Getting this error and quite easy to resolve, just convert
async function getJobListing()
To use a const as shown below:
const getJobListing = async function () {
const jobs = await prisma.jobs.findMany({
Comments