NIck: fixes fallback

This commit is contained in:
Nicolas 2024-06-23 18:59:08 -03:00
parent b394e64684
commit 3c7b7e7242
2 changed files with 4 additions and 1 deletions

View File

@ -202,7 +202,7 @@ function getPlanByPriceId(price_id: string) {
case process.env.STRIPE_PRICE_ID_HOBBY || process.env.STRIPE_PRICE_ID_HOBBY_YEARLY:
return 'hobby';
case process.env.STRIPE_PRICE_ID_STANDARD_NEW || process.env.STRIPE_PRICE_ID_STANDARD_NEW_YEARLY:
return 'standard-new';
return 'standardnew';
case process.env.STRIPE_PRICE_ID_GROWTH || process.env.STRIPE_PRICE_ID_GROWTH_YEARLY:
return 'growth';
default:

View File

@ -12,6 +12,7 @@ const RATE_LIMITS = {
scale: 20,
hobby: 3,
standardNew: 10,
standardnew: 10,
growth: 50,
},
scrape: {
@ -23,6 +24,7 @@ const RATE_LIMITS = {
scale: 50,
hobby: 10,
standardNew: 50,
standardnew: 50,
growth: 500,
},
search: {
@ -34,6 +36,7 @@ const RATE_LIMITS = {
scale: 50,
hobby: 10,
standardNew: 50,
standardnew: 50,
growth: 500,
},
preview: {