Minor tweaks.

This commit is contained in:
Mike Cao committed 2020-07-20 19:24:33 -07:00
1 parent 132bbcbe0d
commit 0edf87941a
6 files changed
+24 -22

No files matched your search

+3 -1
View File
@@ -1,6 +1,8 @@
import { PrismaClient } from '@prisma/client';
const prisma = new PrismaClient();
const prisma = new PrismaClient({
log: [process.env.NODE_ENV !== 'production' && 'query'],
});
export async function runQuery(query) {
return query