mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-08 16:19:02 +08: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