mirror of
https://github.com/umami-software/umami.git
synced 2026-02-08 14:47:14 +01:00
Hide other reports.
This commit is contained in:
parent
cabff7924e
commit
97c57696ff
6 changed files with 205 additions and 92 deletions
|
|
@ -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,
|
||||
});
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue