Skip to content

Commit

Permalink
Merge pull request mrvautin#6 from rafaesc/patch-1
Browse files Browse the repository at this point in the history
Updated the Stripe config message error
  • Loading branch information
mrvautin authored Feb 6, 2018
2 parents 7fa175a + fc1423c commit 46a82cc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}
Expand Down

0 comments on commit 46a82cc

Please sign in to comment.