mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 11:42:24 +08:00
fix(crawl-status): isCancelled should be status failed
This commit is contained in:
parent
03c84a9372
commit
d7d63790e5
|
@ -25,7 +25,9 @@ export async function crawlStatusController(req: Request, res: Response) {
|
|||
|
||||
if (isCancelled) {
|
||||
return res.json({
|
||||
status: "cancelled",
|
||||
status: "failed",
|
||||
docs: null,
|
||||
partialDocs: [],
|
||||
});
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user