Bedarfsausweis

This commit is contained in:
Moritz Utcke
2025-04-23 10:49:58 -03:00
parent 076c49c054
commit f958eb07bf
2 changed files with 43 additions and 63 deletions

View File

@@ -131,7 +131,6 @@ export const POST = defineApiRoute({
}
// Hier müssen wir warten, damit wir sichergehen können, dass die Rechnung bei LexOffice existiert.
setTimeout(async () => {
const [pdfRechnung, pdfRechnungError] = await tryCatch(
getLexOfficeRechnung(rechnung)
);
@@ -143,7 +142,7 @@ export const POST = defineApiRoute({
});
}
const processedFiles: Mail.Attachment[] = []
const processedFiles: Mail.Attachment[] = []
for (const file of files) {
const { data, name, type } = file;
@@ -356,6 +355,5 @@ export const POST = defineApiRoute({
},
});
}
}, 3000);
},
});
});