umami/queries/admin/account/createAccount.js
2022-08-25 22:20:30 -07:00

10 lines
170 B
JavaScript

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