Prisma client error: cannot read properties of undefined
I have a web application built with an express.js backend, PostgreSQL db and use Prisma client. I have 2 separate POST routes in the app, /api/chat
and /api/sendRecReview
(code below). This web app is hosted on Render.