Skip to content

A fast, helpful, and open-source document parser

fix: use correct variable name

AdemBoukhris457e4ceb28a49a7
diff --git a/src/core/parser.ts b/src/core/parser.ts
index c1550bb..a7b7439 100644
--- a/src/core/parser.ts
+++ b/src/core/parser.ts
@@ -298,7 +298,7 @@ export class LiteParse {
const pages = pageNumbers || Array.from({ length: totalPages }, (_, i) => i + 1);
const renderer = new PdfiumRenderer();
- await renderer.loadDocument(rendererInput, this.config.password);
+ await renderer.loadDocument(pdfInput, this.config.password);
try {
for (const pageNum of pages) {