This commit is contained in:
Nicolas 2025-04-13 11:26:31 -07:00
commit 870fe56e0a

View File

@ -138,7 +138,7 @@ export async function getACUC(
const client =
Math.random() > (2/3) ? supabase_rr_service : supabase_service;
({ data, error } = await client.rpc(
"auth_credit_usage_chunk_28",
"auth_credit_usage_chunk_30",
{ input_key: api_key, i_is_extract: isExtract, tally_untallied_credits: true },
{ get: true },
));
@ -249,7 +249,7 @@ export async function getACUCTeam(
const client =
Math.random() > (2/3) ? supabase_rr_service : supabase_service;
({ data, error } = await client.rpc(
"auth_credit_usage_chunk_28_from_team",
"auth_credit_usage_chunk_30_from_team",
{ input_team: team_id, i_is_extract: isExtract, tally_untallied_credits: true },
{ get: true },
));