Skip to content

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

Update auth.ts

Nicolas982b3da27d28
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index f21eaf927..b0843cdf1 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -100,7 +100,7 @@ export async function getACUC(
? "auth_credit_usage_chunk_extract"
: "auth_credit_usage_chunk_test_22_credit_pack_n_extract";
while (retries < maxRetries) {
- const client = Math.random() > 0.75 ? supabase_rr_service : supabase_service;
+ const client = Math.random() > 0.5 ? supabase_rr_service : supabase_service;
({ data, error } = await client.rpc(
rpcName,
{ input_key: api_key },