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