Minor improvement

This commit is contained in:
Jan Oberhauser 2021-02-21 22:37:39 +01:00
parent 4b0776d85a
commit 802808a9ad

View file

@ -125,8 +125,7 @@ export class ExportCredentialsCommand extends Command {
}
for (let i = 0; i < credentials.length; i++) {
const c = credentials[i];
const {name, type, nodesAccess, data} = credentials[i];
const { name, type, nodesAccess, data } = credentials[i];
const credential = new Credentials(name, type, nodesAccess, data);
const plainData = credential.getData(encryptionKey);
(credentials[i] as ICredentialsDecryptedDb).data = plainData;