Skip to content

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

updated rpc

rafaelsideguide672eddb99927
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index fb3a813ba..74c62b8fd 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -46,7 +46,8 @@ export async function supaAuthenticateUser(
normalizedApi = parseApi(token);
const { data, error } = await supabase_service.rpc(
- 'get_key_and_price_id', { api_key: normalizedApi });
+ 'get_key_and_price_id_2', { api_key: normalizedApi }
+ );
if (error) {
console.error('Error fetching key and price_id:', error);