Skip to content

Supercharge your AI agents with data from the web and beyond. Building the library for superintelligence. 🔥

Update auth.ts

rafaelsideguide47c20c80ab69
diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts
index 43be48978..aff628c3c 100644
--- a/apps/api/src/controllers/auth.ts
+++ b/apps/api/src/controllers/auth.ts
@@ -75,10 +75,10 @@ export async function supaAuthenticateUser(
rateLimiter = scrapeRateLimit(subscriptionData.plan);
break;
case RateLimiterMode.CrawlStatus:
- rateLimiter = await getRateLimiter(RateLimiterMode.CrawlStatus, token);
+ rateLimiter = getRateLimiter(RateLimiterMode.CrawlStatus, token);
break;
default:
- rateLimiter = await getRateLimiter(RateLimiterMode.Crawl, token);
+ rateLimiter = getRateLimiter(RateLimiterMode.Crawl, token);
break;
// case RateLimiterMode.Search:
// rateLimiter = await searchRateLimiter(RateLimiterMode.Search, token);