🐛 Fix issue that ReadPdf does not lose binary data
This commit is contained in:
@@ -51,6 +51,7 @@ export class ReadPdf implements INodeType {
|
||||
const binaryData = Buffer.from(item.binary[binaryPropertyName].data, BINARY_ENCODING);
|
||||
|
||||
return {
|
||||
binary: item.binary,
|
||||
json: await pdf(binaryData)
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user