umami/queries/admin/account/getAccount.js

8 lines
139 B
JavaScript
Raw Normal View History

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