🐛 Fix issue that ReadPdf does not lose binary data

This commit is contained in:
Jan Oberhauser 2020-06-04 16:58:45 +02:00
parent c383853423
commit 1c683fec69

View file

@ -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)
}; };
} }