umami/queries/admin/account/getAccount.js
2022-10-04 20:16:09 -07:00

8 lines
139 B
JavaScript

import prisma from 'lib/prisma';
export async function getAccount(where) {
return prisma.client.account.findUnique({
where,
});
}