mirror of
https://github.com/umami-software/umami.git
synced 2025-12-06 01:18:00 +01:00
Get account by uuid for cloud operations.
This commit is contained in:
parent
d784b2a8db
commit
f3135ee867
4 changed files with 50 additions and 75 deletions
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,
|
||||
});
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue