From 0c457e6f2f35686557beb5dcf40d9c37533f939f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Fri, 7 Mar 2025 20:34:43 +0100 Subject: [PATCH] adjust acuc balance --- 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 e8879fe7..d86a2511 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -101,7 +101,7 @@ export async function getACUC( : "auth_credit_usage_chunk_test_22_credit_pack_n_extract"; while (retries < maxRetries) { const client = - Math.random() > 0.5 ? supabase_rr_service : supabase_service; + Math.random() > (2/3) ? supabase_rr_service : supabase_service; ({ data, error } = await client.rpc( rpcName, { input_key: api_key },