diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts index 864e78ec..c9c0e4b2 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -181,7 +181,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_31", + "auth_credit_usage_chunk_30", { input_key: api_key, i_is_extract: isExtract, tally_untallied_credits: true }, { get: true }, )); @@ -298,7 +298,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_31_from_team", + "auth_credit_usage_chunk_30_from_team", { input_team: team_id, i_is_extract: isExtract, tally_untallied_credits: true }, { get: true }, ));