We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent ba0629b commit 33b4e46Copy full SHA for 33b4e46
1 file changed
src/db/client.ts
@@ -21,12 +21,12 @@ export const prisma =
21
new PrismaClient({
22
adapter,
23
log:
24
- process.env.NODE_ENV === "Development"
+ process.env.NODE_ENV === "development"
25
? ["query", "error", "warn"]
26
: ["error"],
27
});
28
29
-if (process.env.NODE_ENV !== "Production") {
+if (process.env.NODE_ENV !== "production") {
30
globalForPrisma.prisma = prisma;
31
globalForPrisma.pgPool = pool;
32
}
0 commit comments