|
|
@ -40,11 +40,13 @@ export class CommonService {
|
|
|
|
return obj;
|
|
|
|
return obj;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.removeAuthSecureData = (node) => {
|
|
|
|
this.removeAuthSecureData = (node) => {
|
|
|
|
delete node.authentication.macaroonPath;
|
|
|
|
if (node.authentication) {
|
|
|
|
delete node.authentication.runePath;
|
|
|
|
delete node.authentication.macaroonPath;
|
|
|
|
delete node.authentication.runeValue;
|
|
|
|
delete node.authentication.runePath;
|
|
|
|
delete node.authentication.lnApiPassword;
|
|
|
|
delete node.authentication.runeValue;
|
|
|
|
delete node.authentication.options;
|
|
|
|
delete node.authentication.lnApiPassword;
|
|
|
|
|
|
|
|
delete node.authentication.options;
|
|
|
|
|
|
|
|
}
|
|
|
|
return node;
|
|
|
|
return node;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
this.removeSecureData = (config) => {
|
|
|
|
this.removeSecureData = (config) => {
|
|
|
|