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 =
global.__prisma ||
new PrismaClient({
log: ['query'],
});
new PrismaClient();
if (process.env.NODE_ENV !== 'production') global.__prisma = prisma;