Get account by uuid for cloud operations.

This commit is contained in:
Mike Cao 2022-10-04 20:16:09 -07:00
parent d784b2a8db
commit f3135ee867
4 changed files with 50 additions and 75 deletions

View file

@ -0,0 +1,7 @@
import prisma from 'lib/prisma';
export async function getAccount(where) {
return prisma.client.account.findUnique({
where,
});
}