mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 03:32:22 +08:00
Update auth.ts
This commit is contained in:
parent
257a951132
commit
0bff5b1a24
|
@ -77,7 +77,7 @@ export async function getACUC(api_key: string, cacheOnly = false): Promise<AuthC
|
||||||
return JSON.parse(cachedACUC);
|
return JSON.parse(cachedACUC);
|
||||||
} else if (!cacheOnly) {
|
} else if (!cacheOnly) {
|
||||||
const { data, error } =
|
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) {
|
if (error) {
|
||||||
throw new Error("Failed to retrieve authentication and credit usage data: " + JSON.stringify(error));
|
throw new Error("Failed to retrieve authentication and credit usage data: " + JSON.stringify(error));
|
||||||
|
|
Loading…
Reference in New Issue
Block a user