Macaroon spelling bug fix

pull/47/head
ShahanaFarooqui 5 years ago
parent be71869994
commit 4c7ef72add

@ -33,10 +33,9 @@ var setMacaroonPath = (clArgs, config) => {
if(undefined !== clArgs.lndir) {
macaroonPath = clArgs.lndir;
} else {
if(config.Authentication.macroonPath !== '') {
if(undefined !== config.Authentication.macroonPath && config.Authentication.macroonPath !== '') {
macaroonPath = config.Authentication.macroonPath;
}
if(config.Authentication.macaroonPath !== '') {
} else if(undefined !== config.Authentication.macaroonPath && config.Authentication.macaroonPath !== '') {
macaroonPath = config.Authentication.macaroonPath;
}
}

Loading…
Cancel
Save