Linting
parent
807ab4d32c
commit
22626c0873
3
app.js
3
app.js
|
@ -31,8 +31,7 @@ if(baseConfig === false){
|
||||||
}
|
}
|
||||||
|
|
||||||
// Validate the payment gateway config
|
// Validate the payment gateway config
|
||||||
switch(config.paymentGateway)
|
switch(config.paymentGateway){
|
||||||
{
|
|
||||||
case'paypal':
|
case'paypal':
|
||||||
const paypalConfig = ajv.validate(require('./config/paypalSchema'), require('./config/paypal.json'));
|
const paypalConfig = ajv.validate(require('./config/paypalSchema'), require('./config/paypal.json'));
|
||||||
if(paypalConfig === false){
|
if(paypalConfig === false){
|
||||||
|
|
Loading…
Reference in New Issue