Fixed Dumb Error

This commit is contained in:
2025-11-10 14:40:13 +01:00
parent 8a88c6878e
commit 914c7e4fc1

View File

@@ -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" })