mirror of
https://github.com/umami-software/umami.git
synced 2026-02-09 23:27:12 +01:00
Build cli using rollup.
This commit is contained in:
parent
533ffbda13
commit
0f0b1e39e7
10 changed files with 175 additions and 23 deletions
|
|
@ -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',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue