Skip to content

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

Add temporary exception for Faire team ID to bypass job expiration (#1716)

devin-ai-integration[bot]89e57ace3c8c
diff --git a/apps/api/src/controllers/v1/crawl-status.ts b/apps/api/src/controllers/v1/crawl-status.ts
index 062cecbac..f04071b95 100644
--- a/apps/api/src/controllers/v1/crawl-status.ts
+++ b/apps/api/src/controllers/v1/crawl-status.ts
@@ -261,8 +261,11 @@ export async function crawlStatusController(
return res.status(403).json({ success: false, error: "Forbidden" });
}
+ const TEMP_FAIRE_TEAM_ID = "f96ad1a4-8102-4b35-9904-36fd517d3616";
+
if (
crawlJob
+ && crawlJob.team_id !== TEMP_FAIRE_TEAM_ID
&& new Date().valueOf() - new Date(crawlJob.date_added).valueOf() > 24 * 60 * 60 * 1000
) {
return res.status(404).json({ success: false, error: "Job expired" });