mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 12:44:07 -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);
|
const binaryData = Buffer.from(item.binary[binaryPropertyName].data, BINARY_ENCODING);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
binary: item.binary,
|
||||||
json: await pdf(binaryData)
|
json: await pdf(binaryData)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue