fix: make Paddle vendor id number

This commit is contained in:
Ali BARIN
2023-03-20 23:23:44 +00:00
parent a2809a14c5
commit 66d7baa126
2 changed files with 3 additions and 3 deletions

View File

@@ -39,7 +39,7 @@ type AppConfig = {
smtpPassword: string;
fromEmail: string;
isCloud: boolean;
paddleVendorId: string;
paddleVendorId: number;
paddleVendorAuthCode: string;
stripeSecretKey: string;
stripeSigningSecret: string;
@@ -113,7 +113,7 @@ const appConfig: AppConfig = {
smtpPassword: process.env.SMTP_PASSWORD,
fromEmail: process.env.FROM_EMAIL,
isCloud: process.env.AUTOMATISCH_CLOUD === 'true',
paddleVendorId: process.env.PADDLE_VENDOR_ID,
paddleVendorId: Number(process.env.PADDLE_VENDOR_ID),
paddleVendorAuthCode: process.env.PADDLE_VENDOR_AUTH_CODE,
stripeSecretKey: process.env.STRIPE_SECRET_KEY,
stripeSigningSecret: process.env.STRIPE_SIGNING_SECRET,