|
@@ -31,9 +31,9 @@ export async function buildPdf(
|
|
|
const mergedPdf = await buildPdfFromElements(elements, opt);
|
|
|
|
|
|
if (returnBlob) {
|
|
|
- return await mergedPdf.outputPdf("blob");
|
|
|
+ return await mergedPdf.output("blob");
|
|
|
} else {
|
|
|
- console.log(filename);
|
|
|
+ // console.log(filename);
|
|
|
await mergedPdf.save(filename);
|
|
|
}
|
|
|
}
|