Build cli using rollup.

This commit is contained in:
Mike Cao committed 2020-07-24 17:00:56 -07:00
1 parent 533ffbda13
commit 0f0b1e39e7
10 files changed
+175 -23

No files matched your search

+2 -4
View File
@@ -1,8 +1,6 @@
const { PrismaClient } = require('@prisma/client');
import { prisma } from '../lib/db';
const prisma = new PrismaClient();
module.exports = async () => {
export default async () => {
const account = await prisma.account.findOne({
where: {
username: 'admin',