(PS-378) Seclore custom n8n node #1

Merged
atharva.dev merged 22 commits from ticket/PS-378 into main 2025-11-13 04:43:55 +00:00
1 changed files with 5 additions and 0 deletions
Showing only changes of commit c8ce3b1f94 - Show all commits

View File

@ -85,6 +85,11 @@ async function protectFileWithHotFolder(
Logger.debug(who + 'File uploaded successfully', { fileStorageId: uploadResult.fileStorageId, fileName, correlationId });
// check if the file is already protected
if (uploadResult.protected) {
throw new Error('File is already protected');
}
originalFileStorageId = uploadResult.fileStorageId;
// Protect the uploaded file with HotFolder