Skip to content

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

fix(crawl-status): another missing get: true

Gergő Móricz76f00296eb14
diff --git a/apps/api/src/controllers/v1/crawl-status.ts b/apps/api/src/controllers/v1/crawl-status.ts
index f1cda9fdf..de5eb83ba 100644
--- a/apps/api/src/controllers/v1/crawl-status.ts
+++ b/apps/api/src/controllers/v1/crawl-status.ts
@@ -261,7 +261,7 @@ export async function crawlStatusController(
const creditsRpc = await supabase_rr_service
.rpc("credits_billed_by_crawl_id_1", {
i_crawl_id: req.params.jobId,
- });
+ }, { get: true });
creditsUsed = creditsRpc.data?.[0]?.credits_billed ?? (totalCount * (
sc.scrapeOptions?.extract