From 043c06e7acb31d029a70bb7603c1b0765d152d67 Mon Sep 17 00:00:00 2001 From: "atharva.dev" Date: Tue, 11 Nov 2025 16:32:05 +0530 Subject: [PATCH] review comments resolved --- nodes/SecloreProtect/SecloreProtect.node.ts | 4 ++-- nodes/SecloreProtect/operations/protectWithHotFolder.ts | 2 +- nodes/SecloreProtect/operations/unprotect.ts | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/nodes/SecloreProtect/SecloreProtect.node.ts b/nodes/SecloreProtect/SecloreProtect.node.ts index 79d3f0c..d8e3672 100644 --- a/nodes/SecloreProtect/SecloreProtect.node.ts +++ b/nodes/SecloreProtect/SecloreProtect.node.ts @@ -11,7 +11,7 @@ export class SecloreProtect implements INodeType { displayName: 'Seclore', name: 'secloreProtect', icon: 'file:../../icons/seclore.svg', - usableAsTool: true, // TODO: make it false/ don't allow it to be used as a tool + usableAsTool: true, group: ['transform'], version: 1, subtitle: '={{$parameter["resource"] + ": " + $parameter["operation"]}}', @@ -59,7 +59,7 @@ export class SecloreProtect implements INodeType { }, options: [ { - name: 'Protect using Policy', + name: 'Protect Using Policy', value: 'protectWithHotFolder', description: 'Protect a file using HotFolder ID configuration', action: 'Protect file using policy', diff --git a/nodes/SecloreProtect/operations/protectWithHotFolder.ts b/nodes/SecloreProtect/operations/protectWithHotFolder.ts index c4dc3f5..202b3ee 100644 --- a/nodes/SecloreProtect/operations/protectWithHotFolder.ts +++ b/nodes/SecloreProtect/operations/protectWithHotFolder.ts @@ -189,7 +189,7 @@ export async function protectWithHotFolder(this: IExecuteFunctions): Promise { // Get parameters for this item Logger.debug(who + 'Getting node parameters', { itemIndex: i }); const binaryPropertyName = this.getNodeParameter('binaryPropertyName', i) as string; - const correlationId = crypto.randomUUID().toString(); + const correlationId = crypto.randomUUID(); const retryCount = this.getNodeParameter('retryCount', i) as number; Logger.debug(who + 'Asserting binary data', { binaryPropertyName, itemIndex: i });