mirror of
https://github.com/mendableai/firecrawl.git
synced 2025-09-26 17:01:27 +00:00
fix(v1/crawl-status-ws): wait to send catchup before closing
This commit is contained in:
parent
16af54cf2b
commit
dcbe0b319c
@ -157,7 +157,7 @@ async function crawlStatusWS(
|
|||||||
const doneJobs = await getJobs(doneJobIDs);
|
const doneJobs = await getJobs(doneJobIDs);
|
||||||
const data = doneJobs.map((x) => x.returnvalue);
|
const data = doneJobs.map((x) => x.returnvalue);
|
||||||
|
|
||||||
send(ws, {
|
await send(ws, {
|
||||||
type: "catchup",
|
type: "catchup",
|
||||||
data: {
|
data: {
|
||||||
success: true,
|
success: true,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user