mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
⚡ Minor improvement
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user