From 982b3da27d28e22295b29c5b17a6415a0d15e280 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 6 Mar 2025 17:53:41 -0300 Subject: [PATCH] Update auth.ts --- apps/api/src/controllers/auth.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts index f21eaf92..b0843cdf 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 },