feat: upgrade pdfcpu

This commit is contained in:
Julien Neuhart
2023-12-11 10:40:51 +01:00
parent f13e045e7f
commit 9256a203ef
3 changed files with 7 additions and 7 deletions

View File

@@ -41,7 +41,7 @@ func (engine *PdfCpu) Provision(ctx *gotenberg.Context) error {
// Merge combines multiple PDFs into a single PDF.
func (engine *PdfCpu) Merge(ctx context.Context, logger *zap.Logger, inputPaths []string, outputPath string) error {
err := pdfcpuAPI.MergeCreateFile(inputPaths, outputPath, engine.conf)
err := pdfcpuAPI.MergeCreateFile(inputPaths, outputPath, false, engine.conf)
if err == nil {
return nil
}