Bedarfsausweis ausstellen - cleanup
This commit is contained in:
@@ -157,11 +157,9 @@ export const POST = defineApiRoute({
|
||||
|
||||
if (pdfRechnung && !pdfRechnungError) {
|
||||
pdfSource = 'S3';
|
||||
console.log('PDF from S3');
|
||||
} else {
|
||||
[pdfRechnung, pdfRechnungError] = await tryCatch(getLexOfficeRechnung(rechnung));
|
||||
pdfSource = 'LexOffice';
|
||||
console.log('PDF from LexOffice');
|
||||
}
|
||||
|
||||
if (pdfRechnungError) {
|
||||
|
||||
Reference in New Issue
Block a user