mirror of
https://github.com/mendableai/firecrawl.git
synced 2025-09-14 11:08:41 +00:00
Update types.ts
This commit is contained in:
parent
0c5bd85540
commit
94d0b4be43
@ -286,6 +286,10 @@ const extractTransform = (obj) => {
|
|||||||
obj = { ...obj, waitFor: 5000 };
|
obj = { ...obj, waitFor: 5000 };
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (obj.formats?.includes("changeTracking") && obj.timeout === 30000) {
|
||||||
|
obj = { ...obj, timeout: 60000 };
|
||||||
|
}
|
||||||
|
|
||||||
if (obj.formats?.includes("json")) {
|
if (obj.formats?.includes("json")) {
|
||||||
obj.formats.push("extract");
|
obj.formats.push("extract");
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user