Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Nick: resolved conflicts

Nicolas4d5477f3575a
diff --cc apps/api/src/controllers/v0/scrape.ts
index cfb1366c9,2a0fcc137..987e877ca
--- a/apps/api/src/controllers/v0/scrape.ts
+++ b/apps/api/src/controllers/v0/scrape.ts
@@@ -60,8 -60,7 +60,8 @@@ export async function scrapeHelper
mode: "single_urls",
crawlerOptions,
team_id,
- plan,
pageOptions,
++ plan,
extractorOptions,
origin: req.body.origin ?? defaultOrigin,
is_scrape: true,
@@@ -197,7 -196,7 +197,7 @@@ export async function scrapeController(
await checkTeamCredits(chunk, team_id, 1);
if (!creditsCheckSuccess) {
earlyReturn = true;
-- return res.status(402).json({ error: "Insufficient credits" });
++ return res.status(402).json({ error: "Insufficient credits. For more credits, you can upgrade your plan at https://firecrawl.dev/pricing" });
}
} catch (error) {
Logger.error(error);