From 8970b3a5375ccfd9b41c8a08722a2fc6bbbe3af9 Mon Sep 17 00:00:00 2001 From: MohamedBassem Date: Wed, 7 Feb 2024 21:05:57 +0000 Subject: [feature] Add openAI integration for extracting tags from articles --- db/index.ts | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'db/index.ts') diff --git a/db/index.ts b/db/index.ts index dbf925f4..fa46ca1f 100644 --- a/db/index.ts +++ b/db/index.ts @@ -2,6 +2,8 @@ import { PrismaClient } from "@prisma/client"; const prisma = new PrismaClient(); -export { Prisma } from "@prisma/client"; +// For some weird reason accessing @prisma/client from any package is causing problems (specially in error handling). +// Re export them here instead. +export * from "@prisma/client"; export default prisma; -- cgit v1.2.3-70-g09d2