mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-24 04:04:06 -08:00
⚡ Minor improvement
This commit is contained in:
parent
4b0776d85a
commit
802808a9ad
|
@ -125,8 +125,7 @@ export class ExportCredentialsCommand extends Command {
|
||||||
}
|
}
|
||||||
|
|
||||||
for (let i = 0; i < credentials.length; i++) {
|
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 credential = new Credentials(name, type, nodesAccess, data);
|
||||||
const plainData = credential.getData(encryptionKey);
|
const plainData = credential.getData(encryptionKey);
|
||||||
(credentials[i] as ICredentialsDecryptedDb).data = plainData;
|
(credentials[i] as ICredentialsDecryptedDb).data = plainData;
|
||||||
|
|
Loading…
Reference in a new issue