fix: missing previews

This commit is contained in:
Ibrahima G. Coulibaly
2025-05-22 17:18:36 +01:00
parent 6af2957314
commit 0a68edfbad
3 changed files with 18 additions and 12 deletions

View File

@@ -37,7 +37,6 @@ export async function protectPdf(
password: options.password
};
const protectedFileUrl: string = await protectWithGhostScript(dataObject);
console.log('protected', protectedFileUrl);
return await loadPDFData(
protectedFileUrl,
pdfFile.name.replace('.pdf', '-protected.pdf')