Skip to content

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

fix(crawl-status): other rpc

Gergő Móricz05edb9aba317
diff --git a/apps/api/src/controllers/v1/crawl-status.ts b/apps/api/src/controllers/v1/crawl-status.ts
index b22d97485..52a7ef4a2 100644
--- a/apps/api/src/controllers/v1/crawl-status.ts
+++ b/apps/api/src/controllers/v1/crawl-status.ts
@@ -308,7 +308,7 @@ export async function crawlStatusController(
}
const { data: scrapeJobCounts, error: scrapeJobError } = await supabase_rr_service
- .rpc("count_jobs_of_crawl_team", { i_crawl_id: req.params.jobId, i_team_id: req.auth.team_id });
+ .rpc("count_jobs_of_crawl_team_2", { i_crawl_id: req.params.jobId, i_team_id: req.auth.team_id });
if (scrapeJobError || !scrapeJobCounts || scrapeJobCounts.length === 0) {
logger.error("Error getting scrape job count", { error: scrapeJobError });