mirror of
https://github.com/mendableai/firecrawl.git
synced 2024-11-16 19:58:08 +08:00
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