mirror of
https://github.com/n8n-io/n8n.git
synced 2025-03-05 20:50:17 -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) {
|
||||||
if (attachments.attachmentsBinary && items[i].binary) {
|
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];
|
const binaryProperty = (items[i].binary as IBinaryKeyData)[propertyName];
|
||||||
|
|
||||||
|
@ -287,7 +287,7 @@ export class Signl4 implements INodeType {
|
||||||
filename: binaryProperty.fileName,
|
filename: binaryProperty.fileName,
|
||||||
contentType: binaryProperty.mimeType,
|
contentType: binaryProperty.mimeType,
|
||||||
},
|
},
|
||||||
}
|
};
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
throw new Error(`Binary property ${propertyName} does not exist on input`);
|
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/Set.node.js",
|
||||||
"dist/nodes/Shopify/Shopify.node.js",
|
"dist/nodes/Shopify/Shopify.node.js",
|
||||||
"dist/nodes/Shopify/ShopifyTrigger.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/Slack/Slack.node.js",
|
||||||
"dist/nodes/Sms77/Sms77.node.js",
|
"dist/nodes/Sms77/Sms77.node.js",
|
||||||
"dist/nodes/SplitInBatches.node.js",
|
"dist/nodes/SplitInBatches.node.js",
|
||||||
|
|
Loading…
Reference in a new issue