diff --git a/src/routes/files.ts b/src/routes/files.ts index cba3da0..5ec8d04 100644 --- a/src/routes/files.ts +++ b/src/routes/files.ts @@ -125,6 +125,7 @@ export default async function fileRoutes(server: FastifyInstance) { server.post("/files/download/:id?", async (req, reply) => { const { id } = req.params as { id?: string } + // @ts-ignore const ids = req.body?.ids || []