chore: disable query logging on the prisma client

This commit is contained in:
Ashhhleyyy 2022-07-28 23:51:27 +01:00
parent 96c2bbfd12
commit fee2e98a90
Signed by: ash
GPG key ID: 83B789081A0878FB

View file

@ -8,8 +8,6 @@ declare global {
export const prisma = export const prisma =
global.__prisma || global.__prisma ||
new PrismaClient({ new PrismaClient();
log: ['query'],
});
if (process.env.NODE_ENV !== 'production') global.__prisma = prisma; if (process.env.NODE_ENV !== 'production') global.__prisma = prisma;