master
Mark Moffat 2019-10-25 19:38:47 +10:30
parent 807ab4d32c
commit 22626c0873
1 changed files with 4 additions and 5 deletions

3
app.js
View File

@ -31,8 +31,7 @@ if(baseConfig === false){
}
// Validate the payment gateway config
switch(config.paymentGateway)
{
switch(config.paymentGateway){
case'paypal':
const paypalConfig = ajv.validate(require('./config/paypalSchema'), require('./config/paypal.json'));
if(paypalConfig === false){