🐛 Fix introduced bug

This commit is contained in:
Jan Oberhauser 2019-12-27 09:32:04 -06:00
parent a3ad579f89
commit 72cf325247

View file

@ -250,9 +250,9 @@ export class SpreadsheetFile implements INodeType {
return this.prepareOutputData(newItems); return this.prepareOutputData(newItems);
} else if (operation === 'toFile') { } else if (operation === 'toFile') {
// Write the workflow data to spreadsheet file // Write the workflow data to spreadsheet file
const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i) as string; const binaryPropertyName = this.getNodeParameter('binaryPropertyName', 0) as string;
const fileFormat = this.getNodeParameter('fileFormat', i) as string; const fileFormat = this.getNodeParameter('fileFormat', 0) as string;
const options = this.getNodeParameter('options', i, {}) as IDataObject; const options = this.getNodeParameter('options', 0, {}) as IDataObject;
// Get the json data of the items and flatten it // Get the json data of the items and flatten it
let item: INodeExecutionData; let item: INodeExecutionData;