0

Update auth.ts

This commit is contained in:
rafaelsideguide 2024-05-15 08:34:49 -03:00
parent 7d8ceab6de
commit 47c20c80ab

View File

@ -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);