From 47c20c80ab693f5307ef67f54184dd64bab8ee18 Mon Sep 17 00:00:00 2001 From: rafaelsideguide <150964962+rafaelsideguide@users.noreply.github.com> Date: Wed, 15 May 2024 08:34:49 -0300 Subject: [PATCH] Update auth.ts --- apps/api/src/controllers/auth.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/apps/api/src/controllers/auth.ts b/apps/api/src/controllers/auth.ts index 43be489..aff628c 100644 --- a/apps/api/src/controllers/auth.ts +++ b/apps/api/src/controllers/auth.ts @@ -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);