umami/queries/admin/account/createAccount.js
2022-07-12 15:14:27 -07:00

11 lines
188 B
JavaScript

import { runQuery } from 'lib/queries';
import prisma from 'lib/db';
export async function createAccount(data) {
return runQuery(
prisma.account.create({
data,
}),
);
}