Update auth.ts
This commit is contained in:
parent
7d8ceab6de
commit
47c20c80ab
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user