mirror of
https://git.mirrors.martin98.com/https://github.com/mendableai/firecrawl
synced 2025-08-12 12:19:04 +08:00
fix(v1): check-status for preview
This commit is contained in:
parent
8fbff28009
commit
1c35534e2a
@ -132,7 +132,11 @@ export async function supaAuthenticateUser(
|
|||||||
let priceId: string | null = null;
|
let priceId: string | null = null;
|
||||||
|
|
||||||
if (token == "this_is_just_a_preview_token") {
|
if (token == "this_is_just_a_preview_token") {
|
||||||
rateLimiter = getRateLimiter(RateLimiterMode.Preview, token);
|
if (mode == RateLimiterMode.CrawlStatus) {
|
||||||
|
rateLimiter = getRateLimiter(RateLimiterMode.CrawlStatus, token);
|
||||||
|
} else {
|
||||||
|
rateLimiter = getRateLimiter(RateLimiterMode.Preview, token);
|
||||||
|
}
|
||||||
teamId = "preview";
|
teamId = "preview";
|
||||||
} else {
|
} else {
|
||||||
normalizedApi = parseApi(token);
|
normalizedApi = parseApi(token);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user