🐛 Fix bug in MobeBinaryData-Node that it read options wrong

This commit is contained in:
Jan Oberhauser 2020-07-29 22:30:49 +02:00
parent b488ae8d3a
commit 729da6f73e

View file

@ -318,7 +318,7 @@ export class MoveBinaryData implements INodeType {
let options: IDataObject;
for (let itemIndex = 0; itemIndex < items.length; itemIndex++) {
item = items[itemIndex];
options = this.getNodeParameter('options', 0, {}) as IDataObject;
options = this.getNodeParameter('options', itemIndex, {}) as IDataObject;
// Copy the whole JSON data as data on any level can be renamed
newItem = {