Bedarfsausweis
This commit is contained in:
@@ -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);
|
||||
},
|
||||
});
|
||||
});
|
||||
Reference in New Issue
Block a user