mirror of
https://github.com/umami-software/umami.git
synced 2026-02-04 12:47:13 +01:00
Added website check for cloud.
This commit is contained in:
parent
ed013d5d58
commit
03adb6b7e1
4 changed files with 32 additions and 65 deletions
|
|
@ -203,3 +203,11 @@ export async function deleteWebsite(websiteId: string) {
|
|||
return data;
|
||||
});
|
||||
}
|
||||
|
||||
export async function getWebsiteCount(userId: string) {
|
||||
return prisma.client.website.count({
|
||||
where: {
|
||||
userId,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue