refactor: Use NodeConnectionType consistently across the code base (no-changelog) (#10595)
This commit is contained in:
@@ -1,5 +1,4 @@
|
||||
import type {
|
||||
IBinaryKeyData,
|
||||
IDataObject,
|
||||
IExecuteFunctions,
|
||||
INodeExecutionData,
|
||||
@@ -75,7 +74,7 @@ export async function execute(this: IExecuteFunctions, index: number, items: INo
|
||||
);
|
||||
}
|
||||
|
||||
const binaryData = (items[index].binary as IBinaryKeyData)[binaryPropertyName];
|
||||
const binaryData = items[index].binary[binaryPropertyName];
|
||||
const dataBuffer = await this.helpers.getBinaryDataBuffer(index, binaryPropertyName);
|
||||
|
||||
const fileName = options.fileName === undefined ? binaryData.fileName : options.fileName;
|
||||
|
||||
Reference in New Issue
Block a user