Skip to content

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

fix(webhooks): call back with parent crawl ID

Gergő Móricz5a6570cba21a
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index fdbbbb362..dedb6ac8b 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -260,7 +260,7 @@ async function processJob(job: Job, token: string) {
docs: fullDocs,
};
- await callWebhook(job.data.team_id, job.id as string, data);
+ await callWebhook(job.data.team_id, job.data.crawl_id, data);
}
}