mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 20:36:01 +08:00
Update crawl-cancel.ts
This commit is contained in:
parent
ce804d3c20
commit
11768571ed
@ -60,7 +60,7 @@ export async function crawlCancelController(req: Request, res: Response) {
|
||||
const newJobState = await job.getState();
|
||||
|
||||
res.json({
|
||||
status: newJobState === "failed" ? "cancelled" : "Cancelling...",
|
||||
status: "cancelled"
|
||||
});
|
||||
} catch (error) {
|
||||
console.error(error);
|
||||
|
Loading…
x
Reference in New Issue
Block a user