Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥
TypeScript aiai-agentsai-crawlerai-scrapingai-searchcrawlerdata-extractionhtml-to-markdownllmmarkdownscraperscrapingweb-crawlerweb-dataweb-data-extractionweb-scraperweb-scrapingweb-searchwebscraping
chore(billing): remove dead auto_charge references (#4025)
firecrawl-spring[bot]a19ab1e0f9e1
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.tsindex d9bfab625..8c3030ef1 100644--- a/apps/api/src/controllers/auth.ts+++ b/apps/api/src/controllers/auth.ts@@ -214,8 +214,7 @@ async function resolveOAuthToken(}}-/** @public used by auto_charge.ts (disabled, Autumn handles auto-recharge) */-export async function getACUC(+async function getACUC(api_key: string,cacheOnly = false,useCache = true,diff --git a/apps/api/src/services/billing/__tests__/credit_billing.test.ts b/apps/api/src/services/billing/__tests__/credit_billing.test.tsindex 8ba3ca9ab..e23f28468 100644--- a/apps/api/src/services/billing/__tests__/credit_billing.test.ts+++ b/apps/api/src/services/billing/__tests__/credit_billing.test.ts@@ -30,9 +30,6 @@ vi.mock("../../autumn/autumn.service", () => ({vi.mock("../../notification/email_notification", () => ({sendNotification: vi.fn(),}));-vi.mock("../auto_charge", () => ({- autoCharge: vi.fn(),-}));vi.mock("../../redis", () => ({getValue: vi.fn(),setValue: vi.fn(),