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
Nick: temp fix
Nicolas720a429115bd
diff --git a/apps/api/src/services/billing/auto_charge.ts b/apps/api/src/services/billing/auto_charge.tsindex 45fdf1f5b..7a8a96caa 100644--- a/apps/api/src/services/billing/auto_charge.ts+++ b/apps/api/src/services/billing/auto_charge.ts@@ -32,6 +32,15 @@ export async function autoCharge(const resource = `auto-recharge:${chunk.team_id}`;const cooldownKey = `auto-recharge-cooldown:${chunk.team_id}`;+ if(chunk.team_id === "285bb597-6eaf-4b96-801c-51461fc3c543"){+ return {+ success: false,+ message: "Auto-recharge failed",+ remainingCredits: chunk.remaining_credits,+ chunk,+ };+ }+try {// Check if the team is in the cooldown period// Another check to prevent race conditions, double charging - cool down of 5 minutes