mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
⚡ Minor improvements to Signl4-Node
This commit is contained in:
@@ -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.0 KiB After Width: | Height: | Size: 3.0 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",
|
||||
|
||||
Reference in New Issue
Block a user