Added search to languages and timezone.

This commit is contained in:
Mike Cao 2024-01-03 10:17:27 -08:00
parent c24fe079f1
commit 1e0c177fe6
7 changed files with 36 additions and 10 deletions

View file

@ -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;