From 32b46f58a4bb0483ac8d7de09da06d8de0e8844b Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Sun, 7 Dec 2025 22:45:49 +0100 Subject: [PATCH] TS fixes --- src/routes/files.ts | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/routes/files.ts b/src/routes/files.ts index 0467766..5c7ac9d 100644 --- a/src/routes/files.ts +++ b/src/routes/files.ts @@ -107,6 +107,7 @@ export default async function fileRoutes(server: FastifyInstance) { if (!tenantId) return reply.code(401).send({ error: "Unauthorized" }) const list = await server.db + //@ts-ignore .select({ ...files, createddocument: createddocuments, @@ -138,6 +139,7 @@ export default async function fileRoutes(server: FastifyInstance) { server.post("/files/download/:id?", async (req, reply) => { try { const { id } = req.params as { id?: string } + //@ts-ignore const ids = req.body?.ids || [] // -------------------------------------------------