umami/queries/admin/account/createAccount.js
2022-07-15 16:47:38 -07:00

10 lines
162 B
JavaScript

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