Hide other reports.

This commit is contained in:
Mike Cao committed 2023-07-10 09:54:51 -07:00
1 parent cabff7924e
commit 97c57696ff
6 files changed
+205 -92

No files matched your search

+1 -1
View File
@@ -13,7 +13,7 @@ export async function getReportById(reportId: string): Promise<Report> {
});
}
export async function getReports(where: Prisma.ReportWhereUniqueInput): Promise<Report[]> {
export async function getReports(where: Prisma.ReportWhereInput): Promise<Report[]> {
return prisma.client.report.findMany({
where,
});