Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update crawl.ts

Nicolasd7dbc2536dbf
diff --git a/apps/api/src/controllers/v1/crawl.ts b/apps/api/src/controllers/v1/crawl.ts
index f4c4586fc..fd72c8cfd 100644
--- a/apps/api/src/controllers/v1/crawl.ts
+++ b/apps/api/src/controllers/v1/crawl.ts
@@ -110,6 +110,7 @@ export async function crawlController(
origin: "api",
crawl_id: id,
sitemapped: true,
+ webhook: req.body.webhook,
v1: true,
},
opts: {
@@ -155,3 +156,5 @@ export async function crawlController(
url: `${req.protocol}://${req.get("host")}/v1/crawl/${id}`,
});
}
+
+