mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 06:37:18 +01:00
Added search to languages and timezone.
This commit is contained in:
parent
c24fe079f1
commit
1e0c177fe6
7 changed files with 36 additions and 10 deletions
|
|
@ -252,7 +252,7 @@ export async function createWebsite(
|
|||
}
|
||||
|
||||
export async function updateWebsite(
|
||||
websiteId,
|
||||
websiteId: string,
|
||||
data: Prisma.WebsiteUpdateInput | Prisma.WebsiteUncheckedUpdateInput,
|
||||
): Promise<Website> {
|
||||
return prisma.client.website.update({
|
||||
|
|
@ -264,7 +264,7 @@ export async function updateWebsite(
|
|||
}
|
||||
|
||||
export async function resetWebsite(
|
||||
websiteId,
|
||||
websiteId: string,
|
||||
): Promise<[Prisma.BatchPayload, Prisma.BatchPayload, Website]> {
|
||||
const { client, transaction } = prisma;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue