This commit is contained in:
Nicolas
2025-01-18 17:17:42 -03:00
parent 6383bf270a
commit 34b40f6a23
3 changed files with 40 additions and 6 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ export async function scrapeController(
basePriority: 10,
});
await addScrapeJob(
{
url: req.body.url,
@@ -96,7 +97,7 @@ export async function scrapeController(
// Don't bill if we're early returning
return;
}
if (req.body.extract && req.body.formats.includes("extract")) {
if (req.body.extract && req.body.formats.includes("extract") ) {
creditsToBeBilled = 5;
}