Update scrape.ts

This commit is contained in:
Nicolas 2025-05-15 19:11:40 -03:00 committed by GitHub
parent d0d0845a66
commit 47f28c231d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -154,7 +154,7 @@ export async function scrapeController(
creditsToBeBilled = 150;
}
} else if (doc.metadata.numPages !== undefined && doc.metadata.numPages > 1) {
const creditsPerPDFPage = 5;
const creditsPerPDFPage = 1;
creditsToBeBilled = creditsPerPDFPage * doc.metadata.numPages;
}