fix(FTP Node): Fix issue with paireditems not always working (#8613)

This commit is contained in:
Jon 2024-02-12 16:06:28 +00:00 committed by GitHub
parent 32281d12d7
commit d38a822b95
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -548,6 +548,7 @@ export class Ftp implements INodeType {
const newItem: INodeExecutionData = {
json: items[i].json,
binary: {},
pairedItem: items[i].pairedItem,
};
if (items[i].binary !== undefined && newItem.binary) {
@ -814,6 +815,7 @@ export class Ftp implements INodeType {
throw error;
}
return [returnItems];
}
}