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

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];
}
}