fix(v1/crawl-status-ws): wait to send catchup before closing

This commit is contained in:
Gergő Móricz 2025-01-20 20:01:27 +01:00
parent 16af54cf2b
commit dcbe0b319c

View File

@ -157,7 +157,7 @@ async function crawlStatusWS(
const doneJobs = await getJobs(doneJobIDs);
const data = doneJobs.map((x) => x.returnvalue);
send(ws, {
await send(ws, {
type: "catchup",
data: {
success: true,