Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update auth.ts

Nicolas0bff5b1a2444
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index 8aa669cd2..0367358fa 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -77,7 +77,7 @@ export async function getACUC(api_key: string, cacheOnly = false): Promise<AuthC
return JSON.parse(cachedACUC);
} else if (!cacheOnly) {
const { data, error } =
- await supabase_service.rpc("auth_credit_usage_chunk_2_test", { input_key: api_key });
+ await supabase_service.rpc("auth_credit_usage_chunk_test_3", { input_key: api_key });
if (error) {
throw new Error("Failed to retrieve authentication and credit usage data: " + JSON.stringify(error));