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 });