From 914c7e4fc1ed67e964b15f6ff7b7a9055cb3344a Mon Sep 17 00:00:00 2001 From: florianfederspiel Date: Mon, 10 Nov 2025 14:40:13 +0100 Subject: [PATCH] Fixed Dumb Error --- src/routes/functions.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/routes/functions.ts b/src/routes/functions.ts index bcd49f9..fc59339 100644 --- a/src/routes/functions.ts +++ b/src/routes/functions.ts @@ -50,7 +50,7 @@ export default async function functionRoutes(server: FastifyInstance) { console.log(pdf) - reply.send(pdf) // Fastify wandelt automatisch in JSON + return pdf // Fastify wandelt automatisch in JSON } catch (err) { console.log(err) reply.code(500).send({ error: "Failed to create PDF" })