From 05edb9aba3171d18e5030982a7dbb162f5c6ecfd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Mon, 28 Jul 2025 21:55:12 +0200 Subject: [PATCH] fix(crawl-status): other rpc --- apps/api/src/controllers/v1/crawl-status.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 });