Skip to content

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

Nick: moving acuc temp to read replica

Nicolas4d287bb77f03
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index 8d5a56439..1b94fb014 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -95,7 +95,8 @@ export async function getACUC(
while (retries < maxRetries) {
({ data, error } = await supabase_service.rpc(
"auth_credit_usage_chunk_test_21_credit_pack",
- { input_key: api_key }
+ { input_key: api_key },
+ { get: true }
));
if (!error) {