We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 563e034 commit a9b1eedCopy full SHA for a9b1eed
src/utils/cleaners/pdf.ts
@@ -66,7 +66,7 @@ export async function cleanPdf(file: File, enabledFields?: PdfFieldConfig): Prom
66
}
67
68
const cleanedBytes = await pdfDoc.save();
69
- const cleanedBlob = new Blob([cleanedBytes.buffer], { type: 'application/pdf' });
+ const cleanedBlob = new Blob([cleanedBytes as BlobPart], { type: 'application/pdf' });
70
71
return {
72
originalName: file.name,
0 commit comments