mirror of
https://github.com/n8n-io/n8n.git
synced 2025-02-02 07:01:30 -08:00
🐛 Fix introduced bug
This commit is contained in:
parent
a3ad579f89
commit
72cf325247
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue