(
req: FastifyRequest<{ Params: { projectId?: string; dashboardId: string } }>,
reply: FastifyReply
)
| 636 | } |
| 637 | |
| 638 | export async function listReports( |
| 639 | req: FastifyRequest<{ Params: { projectId?: string; dashboardId: string } }>, |
| 640 | reply: FastifyReply |
| 641 | ) { |
| 642 | const projectId = await getProjectId(req as RequestWithProjectParam); |
| 643 | return reply.send(await listReportsCore({ projectId, dashboardId: req.params.dashboardId, organizationId: getOrgId(req as RequestWithProjectParam) })); |
| 644 | } |
| 645 | |
| 646 | export async function getReportData( |
| 647 | req: FastifyRequest<{ Params: { projectId?: string; reportId: string } }>, |
nothing calls this directly
no test coverage detected