mirror of
https://github.com/n8n-io/n8n.git
synced 2024-11-10 14:44:05 -08:00
🐛 Fix issue that ReadPdf does not lose binary data
This commit is contained in:
parent
c383853423
commit
1c683fec69
|
@ -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)
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue