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); rateLimiter = scrapeRateLimit(subscriptionData.plan);
break; break;
case RateLimiterMode.CrawlStatus: case RateLimiterMode.CrawlStatus:
rateLimiter = await getRateLimiter(RateLimiterMode.CrawlStatus, token); rateLimiter = getRateLimiter(RateLimiterMode.CrawlStatus, token);
break; break;
default: default:
rateLimiter = await getRateLimiter(RateLimiterMode.Crawl, token); rateLimiter = getRateLimiter(RateLimiterMode.Crawl, token);
break; break;
// case RateLimiterMode.Search: // case RateLimiterMode.Search:
// rateLimiter = await searchRateLimiter(RateLimiterMode.Search, token); // rateLimiter = await searchRateLimiter(RateLimiterMode.Search, token);