fix(FTP Node): FTP connection failed due to missing password credential in node (#8131)

Co-authored-by: Marcus <marcus@n8n.io>
This commit is contained in:
vacitbaydarman 2024-01-09 18:39:30 +03:00 committed by GitHub
parent d5dcbbf8e5
commit e056aa9c4d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -474,6 +474,7 @@ export class Ftp implements INodeType {
host: credentials.host as string,
port: credentials.port as number,
username: credentials.username as string,
password: (credentials.password as string) || undefined,
privateKey: formatPrivateKey(credentials.privateKey as string),
passphrase: credentials.passphrase as string | undefined,
});
@ -525,6 +526,7 @@ export class Ftp implements INodeType {
host: credentials.host as string,
port: credentials.port as number,
username: credentials.username as string,
password: (credentials.password as string) || undefined,
privateKey: formatPrivateKey(credentials.privateKey as string),
passphrase: credentials.passphrase as string | undefined,
});