Updated the Stripe config message error

react_convert
Rafael Escala 2018-02-05 17:04:42 -05:00 committed by GitHub
parent 7fa175a852
commit fc1423c315
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

2
app.js
View File

@ -39,7 +39,7 @@ if(config.paymentGateway === 'paypal'){
if(config.paymentGateway === 'stripe'){
const stripeConfig = ajv.validate(require('./config/stripeSchema'), require('./config/stripe.json'));
if(stripeConfig === false){
console.log(colors.red(`PayPal config is incorrect: ${ajv.errorsText()}`));
console.log(colors.red(`Stripe config is incorrect: ${ajv.errorsText()}`));
process.exit(2);
}
}