mirror of
https://github.com/n8n-io/n8n.git
synced 2025-01-12 05:17:28 -08:00
fix(TheHive 5 Node): Observable encoding in alert > create fix (#7450)
Github issue / Community forum post (link here to close automatically):
This commit is contained in:
parent
3ddc176dfa
commit
a2d2e3dda7
|
@ -152,8 +152,9 @@ export async function execute(
|
|||
|
||||
const binaryPropertyName = value.binaryProperty as string;
|
||||
const binaryData = this.helpers.assertBinaryData(i, binaryPropertyName);
|
||||
const dataBuffer = await this.helpers.getBinaryDataBuffer(i, binaryPropertyName);
|
||||
|
||||
formData.append(attachmentIndex, binaryData.data, {
|
||||
formData.append(attachmentIndex, dataBuffer, {
|
||||
filename: binaryData.fileName,
|
||||
contentType: binaryData.mimeType,
|
||||
});
|
||||
|
|
Loading…
Reference in a new issue