mirror of
https://github.com/kremalicious/umami.git
synced 2024-11-16 02:05:04 +01:00
11 lines
188 B
JavaScript
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,
|
|
}),
|
|
);
|
|
}
|