mirror of
https://github.com/mendableai/firecrawl.git
synced 2025-11-12 16:27:37 +00:00
Update scrape.ts
This commit is contained in:
parent
00dacaf935
commit
2444f7c450
@ -147,6 +147,6 @@ export async function scrapeController(
|
|||||||
return res.status(200).json({
|
return res.status(200).json({
|
||||||
success: true,
|
success: true,
|
||||||
data: legacyDocumentConverter(doc),
|
data: legacyDocumentConverter(doc),
|
||||||
scrape_id: origin === "website" ? jobId : undefined,
|
scrape_id: origin?.includes("website") ? jobId : undefined,
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user