0

Merge branch 'feat/rate-limits' of https://github.com/mendableai/firecrawl into feat/rate-limits

This commit is contained in:
Nicolas 2024-05-14 14:48:01 -07:00
commit 7d8ceab6de

View File

@ -45,10 +45,9 @@ export async function supaAuthenticateUser(
} else { } else {
normalizedApi = parseApi(token); normalizedApi = parseApi(token);
console.log('normalizedApi:', normalizedApi);
const { data, error } = await supabase_service.rpc( const { data, error } = await supabase_service.rpc(
'get_key_and_price_id_2', { api_key: normalizedApi }); 'get_key_and_price_id_2', { api_key: normalizedApi }
);
if (error) { if (error) {
console.error('Error fetching key and price_id:', error); console.error('Error fetching key and price_id:', error);