Nick: totalCount -> total, completedCount -> completed
This commit is contained in:
@@ -102,7 +102,8 @@ async function crawlStatusWS(ws: WebSocket, req: RequestWithAuth<CrawlStatusPara
|
||||
type: "catchup",
|
||||
data: {
|
||||
status,
|
||||
totalCount: jobIDs.length,
|
||||
total: jobIDs.length,
|
||||
completed: doneJobIDs.length,
|
||||
creditsUsed: jobIDs.length,
|
||||
expiresAt: (await getCrawlExpiry(req.params.jobId)).toISOString(),
|
||||
data: data.map(x => legacyDocumentConverter(x)),
|
||||
|
||||
Reference in New Issue
Block a user