mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 01:56:46 +00:00
refactor(core): Add more overloads for string-type node parameters (no-changelog) (#5101)
* refactor(core): Add more overloads for string-type node parameter (no-changelog) continued from https://github.com/n8n-io/n8n/pull/4797 * include binaryPropertyOutput
This commit is contained in:
committed by
GitHub
parent
c97f3cad59
commit
1acc7fea89
@@ -434,12 +434,12 @@ export class Crypto implements INodeType {
|
||||
for (let i = 0; i < length; i++) {
|
||||
try {
|
||||
item = items[i];
|
||||
const dataPropertyName = this.getNodeParameter('dataPropertyName', i) as string;
|
||||
const dataPropertyName = this.getNodeParameter('dataPropertyName', i);
|
||||
const value = this.getNodeParameter('value', i, '') as string;
|
||||
let newValue;
|
||||
|
||||
if (action === 'generate') {
|
||||
const encodingType = this.getNodeParameter('encodingType', i) as string;
|
||||
const encodingType = this.getNodeParameter('encodingType', i);
|
||||
if (encodingType === 'uuid') {
|
||||
newValue = uuid();
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user