mirror of
https://github.com/fosrl/pangolin.git
synced 2026-09-05 02:39:07 +02:00
Adjust self serve
This commit is contained in:
+1
-1
@@ -2351,7 +2351,7 @@
|
|||||||
},
|
},
|
||||||
"scale": {
|
"scale": {
|
||||||
"title": "Scale",
|
"title": "Scale",
|
||||||
"description": "Enterprise features, 50 users, 50 sites, and priority support."
|
"description": "Enterprise features, 50 users, 100 sites, and priority support."
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"personalUseOnly": "Personal use only (free license - no checkout)",
|
"personalUseOnly": "Personal use only (free license - no checkout)",
|
||||||
|
|||||||
@@ -9,8 +9,8 @@ export type LicensePriceSet = {
|
|||||||
|
|
||||||
export const licensePriceSet: LicensePriceSet = {
|
export const licensePriceSet: LicensePriceSet = {
|
||||||
// Free license matches the freeLimitSet
|
// Free license matches the freeLimitSet
|
||||||
[LicenseId.SMALL_LICENSE]: "price_1SxKHiD3Ee2Ir7WmvtEh17A8",
|
[LicenseId.SMALL_LICENSE]: "price_1TMJzmD3Ee2Ir7Wm05NlGImT",
|
||||||
[LicenseId.BIG_LICENSE]: "price_1SxKHiD3Ee2Ir7WmMUiP0H6Y"
|
[LicenseId.BIG_LICENSE]: "price_1TMJzzD3Ee2Ir7WmzJw9TerS"
|
||||||
};
|
};
|
||||||
|
|
||||||
export const licensePriceSetSandbox: LicensePriceSet = {
|
export const licensePriceSetSandbox: LicensePriceSet = {
|
||||||
|
|||||||
@@ -217,7 +217,7 @@ export async function handleSubscriptionCreated(
|
|||||||
subscriptionPriceId === priceSet[LicenseId.BIG_LICENSE]
|
subscriptionPriceId === priceSet[LicenseId.BIG_LICENSE]
|
||||||
) {
|
) {
|
||||||
numUsers = 50;
|
numUsers = 50;
|
||||||
numSites = 50;
|
numSites = 100;
|
||||||
} else {
|
} else {
|
||||||
logger.error(
|
logger.error(
|
||||||
`Unknown price ID ${subscriptionPriceId} for subscription ${subscription.id}`
|
`Unknown price ID ${subscriptionPriceId} for subscription ${subscription.id}`
|
||||||
|
|||||||
Reference in New Issue
Block a user