fix: Build-Fehler behoben (Import + Buffer Type)
Some checks failed
Preview Deploy / deploy (push) Failing after 1m49s
Some checks failed
Preview Deploy / deploy (push) Failing after 1m49s
This commit is contained in:
@@ -36,7 +36,7 @@ export async function GET(
|
||||
|
||||
const pdfBuffer = await lexofficeService.getInvoicePDF(booking.lexofficeConfirmationId);
|
||||
|
||||
return new NextResponse(pdfBuffer, {
|
||||
return new NextResponse(new Uint8Array(pdfBuffer), {
|
||||
status: 200,
|
||||
headers: {
|
||||
'Content-Type': 'application/pdf',
|
||||
|
||||
Reference in New Issue
Block a user