More work on reports. Added Funnel page.

This commit is contained in:
Mike Cao committed 2025-06-05 22:19:35 -07:00
1 parent 5159dd470f
commit 3847e32f39
59 files changed
+1815 -2370

No files matched your search

+1 -4
View File
@@ -88,10 +88,7 @@ export async function createReport(data: Prisma.ReportUncheckedCreateInput): Pro
return prisma.client.report.create({ data });
}
export async function updateReport(
reportId: string,
data: Prisma.ReportUpdateInput,
): Promise<Report> {
export async function updateReport(reportId: string, data: any): Promise<Report> {
return prisma.client.report.update({ where: { id: reportId }, data });
}