Revert "Nick: past_due changes"

This reverts commit 9449d7b020798b9368ed5e1bae3f5b2a32cb24c7.
This commit is contained in:
Nicolas 2025-05-01 16:48:38 -03:00
parent 9449d7b020
commit ac02ad3257

View File

@ -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 },
));