revert some changes

This commit is contained in:
Isaac Wise
2024-02-10 19:54:38 -06:00
parent 059fcecc5f
commit ccd3fcb8c1
2 changed files with 1 additions and 2 deletions
+1 -1
View File
@@ -5,7 +5,7 @@ const globalForPrisma = global as unknown as { prisma: PrismaClient };
export const prisma =
globalForPrisma.prisma ||
new PrismaClient({
log: ["warn"],
log: ["query"],
});
if (process.env.NODE_ENV !== "production") globalForPrisma.prisma = prisma;