Noit
04/08/2022, 2:09 AMType error: Property 'event' does not exist on type 'PrismaClient<PrismaClientOptions, never, RejectOnNotFound | RejectPerOperation | undefined>'.
It points to this line:
return prisma.event.findUnique({
This works fine in my local dev. Any ideas why it won't deploy? Is Vercel maybe caching some build stuff so it can't see the new prisma model?Noit
04/08/2022, 2:18 AMNoit
04/12/2022, 1:31 AM