Skip to content

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

feat(queue-worker): improve team-based logging

Móricz Gergőbd36c441d3a4
diff --git a/apps/api/src/services/queue-worker.ts b/apps/api/src/services/queue-worker.ts
index 705a06c78..4ef9610de 100644
--- a/apps/api/src/services/queue-worker.ts
+++ b/apps/api/src/services/queue-worker.ts
@@ -386,6 +386,7 @@ async function processJob(job: Job & { id: string }, token: string) {
jobId: job.id,
scrapeId: job.id,
crawlId: job.data?.crawl_id ?? undefined,
+ teamId: job.data?.team_id ?? undefined,
});
logger.info(`🐂 Worker taking job ${job.id}`, { url: job.data.url });