mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
🐛 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);
|
const binaryData = Buffer.from(item.binary[binaryPropertyName].data, BINARY_ENCODING);
|
||||||
|
|
||||||
return {
|
return {
|
||||||
|
binary: item.binary,
|
||||||
json: await pdf(binaryData)
|
json: await pdf(binaryData)
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user