We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 7514e6a commit 4a44c67Copy full SHA for 4a44c67
src/api/plugins/prisma.ts
@@ -1,5 +1,5 @@
1
import type Hapi from '@hapi/hapi';
2
-import { PrismaClient } from '@prisma/client';
+import { PrismaClient } from '../../../prisma/generated/prisma-client';
3
4
// plugin to instantiate Prisma Client
5
const prismaPlugin: Hapi.Plugin<null> = {
src/api/server.ts
@@ -1,6 +1,6 @@
import Hapi from '@hapi/hapi';
-import type { PrismaClient } from '@prisma/client';
import fs from 'node:fs/promises';
+import type { PrismaClient } from '../../prisma/generated/prisma-client';
import { env } from '../env.js';
6
declare module '@hapi/hapi' {
0 commit comments