mirror of
https://github.com/n8n-io/n8n.git
synced 2024-12-25 04:34:06 -08:00
⚡ Minor improvements to Signl4-Node
This commit is contained in:
parent
a6a4eed711
commit
830e4f19b6
|
@ -268,7 +268,7 @@ export class Signl4 implements INodeType {
|
|||
if (attachments) {
|
||||
if (attachments.attachmentsBinary && items[i].binary) {
|
||||
|
||||
const propertyName = (attachments.attachmentsBinary as IDataObject).property as string
|
||||
const propertyName = (attachments.attachmentsBinary as IDataObject).property as string;
|
||||
|
||||
const binaryProperty = (items[i].binary as IBinaryKeyData)[propertyName];
|
||||
|
||||
|
@ -287,7 +287,7 @@ export class Signl4 implements INodeType {
|
|||
filename: binaryProperty.fileName,
|
||||
contentType: binaryProperty.mimeType,
|
||||
},
|
||||
}
|
||||
};
|
||||
|
||||
} else {
|
||||
throw new Error(`Binary property ${propertyName} does not exist on input`);
|
Before Width: | Height: | Size: 3 KiB After Width: | Height: | Size: 3 KiB |
|
@ -261,7 +261,7 @@
|
|||
"dist/nodes/Set.node.js",
|
||||
"dist/nodes/Shopify/Shopify.node.js",
|
||||
"dist/nodes/Shopify/ShopifyTrigger.node.js",
|
||||
"dist/nodes/signl4/Signl4.node.js",
|
||||
"dist/nodes/Signl4/Signl4.node.js",
|
||||
"dist/nodes/Slack/Slack.node.js",
|
||||
"dist/nodes/Sms77/Sms77.node.js",
|
||||
"dist/nodes/SplitInBatches.node.js",
|
||||
|
|
Loading…
Reference in a new issue