From 8e0aa69603e4b04d5d8caedaccb8277c158daefd Mon Sep 17 00:00:00 2001 From: Gergo Moricz Date: Tue, 6 Aug 2024 17:06:21 +0200 Subject: [PATCH] fix(crawl-status): partial_data --- apps/api/src/controllers/crawl-status.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/controllers/crawl-status.ts b/apps/api/src/controllers/crawl-status.ts index 35dd4d38..8a7b59e0 100644 --- a/apps/api/src/controllers/crawl-status.ts +++ b/apps/api/src/controllers/crawl-status.ts @@ -26,8 +26,8 @@ export async function crawlStatusController(req: Request, res: Response) { if (isCancelled) { return res.json({ status: "failed", - docs: null, - partialDocs: [], + data: null, + partial_data: [], }); }