From d260f367e42195f62ea8d367b674f8717cf85171 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Sun, 13 Apr 2025 10:12:35 -0700 Subject: [PATCH 1/2] feat(acuc): bump --- 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 395331af..8cd67c0e 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -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_29", { 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_29_from_team", { input_team: team_id, i_is_extract: isExtract, tally_untallied_credits: true }, { get: true }, )); From 5658232ed6f93aed7fbe10c649cb47a80de4e303 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Gerg=C5=91=20M=C3=B3ricz?= Date: Sun, 13 Apr 2025 10:32:03 -0700 Subject: [PATCH 2/2] feat(acuc): bump 30 --- 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 8cd67c0e..de1ced3a 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -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_29", + "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_29_from_team", + "auth_credit_usage_chunk_30_from_team", { input_team: team_id, i_is_extract: isExtract, tally_untallied_credits: true }, { get: true }, ));