remove billing stripe plan product id from env (#11461)
Fixes https://github.com/twentyhq/core-team-issues/issues/661 remove billing stripe plan product id from env Co-authored-by: Keshav Gupta <keshavgupta@Keshavs-MacBook-Air.local>
This commit is contained in:
@ -527,15 +527,6 @@ export class EnvironmentVariables {
|
|||||||
@ValidateIf((env) => env.IS_BILLING_ENABLED === true)
|
@ValidateIf((env) => env.IS_BILLING_ENABLED === true)
|
||||||
BILLING_STRIPE_WEBHOOK_SECRET: string;
|
BILLING_STRIPE_WEBHOOK_SECRET: string;
|
||||||
|
|
||||||
@EnvironmentVariablesMetadata({
|
|
||||||
group: EnvironmentVariablesGroup.BillingConfig,
|
|
||||||
sensitive: true,
|
|
||||||
description: 'Base plan product ID for Stripe billing',
|
|
||||||
})
|
|
||||||
@IsString()
|
|
||||||
@ValidateIf((env) => env.IS_BILLING_ENABLED === true)
|
|
||||||
BILLING_STRIPE_BASE_PLAN_PRODUCT_ID: string;
|
|
||||||
|
|
||||||
@EnvironmentVariablesMetadata({
|
@EnvironmentVariablesMetadata({
|
||||||
group: EnvironmentVariablesGroup.ServerConfig,
|
group: EnvironmentVariablesGroup.ServerConfig,
|
||||||
description: 'Url for the frontend application',
|
description: 'Url for the frontend application',
|
||||||
|
|||||||
Reference in New Issue
Block a user