mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-05 16:10:45 +08:00
Merge pull request #767 from mendableai/nsc/fixes-credit-usage
[RPC] Improvements to credit_usage rpc
This commit is contained in:
commit
5e5e11f34b
@ -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", { 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));
|
||||
|
Loading…
x
Reference in New Issue
Block a user