Get account by uuid for cloud operations.
This commit is contained in:
7
queries/admin/account/getAccount.js
Normal file
7
queries/admin/account/getAccount.js
Normal file
@@ -0,0 +1,7 @@
|
||||
import prisma from 'lib/prisma';
|
||||
|
||||
export async function getAccount(where) {
|
||||
return prisma.client.account.findUnique({
|
||||
where,
|
||||
});
|
||||
}
|
||||
Reference in New Issue
Block a user