From ac02ad3257bd4915e99ca426c11014ecbe87e8a2 Mon Sep 17 00:00:00 2001 From: Nicolas Date: Thu, 1 May 2025 16:48:38 -0300 Subject: [PATCH] Revert "Nick: past_due changes" This reverts commit 9449d7b020798b9368ed5e1bae3f5b2a32cb24c7. --- apps/api/src/controllers/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 }, ));