fix: quotation-pdf Buffer Type-Fehler behoben
Some checks failed
Preview Deploy / deploy (push) Failing after 1m58s

This commit is contained in:
Julia Wehden
2026-03-24 13:54:43 +01:00
parent 5af1a65815
commit 6ec5d088a4

View File

@@ -36,7 +36,7 @@ export async function GET(
const pdfBuffer = await lexofficeService.getQuotationPDF(booking.lexofficeOfferId);
return new NextResponse(pdfBuffer, {
return new NextResponse(new Uint8Array(pdfBuffer), {
status: 200,
headers: {
'Content-Type': 'application/pdf',