diff options
| author | MohamedBassem <me@mbassem.com> | 2024-02-07 21:05:57 +0000 |
|---|---|---|
| committer | MohamedBassem <me@mbassem.com> | 2024-02-07 21:05:57 +0000 |
| commit | 8970b3a5375ccfd9b41c8a08722a2fc6bbbe3af9 (patch) | |
| tree | 50e4665944d2fe620522688a10584e29bb0b9e37 /db/index.ts | |
| parent | 3ec45e8bbb8285b17c703907d4c161b633663096 (diff) | |
| download | karakeep-8970b3a5375ccfd9b41c8a08722a2fc6bbbe3af9.tar.zst | |
[feature] Add openAI integration for extracting tags from articles
Diffstat (limited to 'db/index.ts')
| -rw-r--r-- | db/index.ts | 4 |
1 files changed, 3 insertions, 1 deletions
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; |
