From 90f4c6b0d11916c4b61d15f70402c6df052dcc98 Mon Sep 17 00:00:00 2001 From: zadam Date: Wed, 27 Mar 2024 06:59:57 +0100 Subject: [PATCH] allow converting file attachments to file notes --- src/becca/entities/battachment.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/becca/entities/battachment.js b/src/becca/entities/battachment.js index e3e77974d..faeb131e7 100644 --- a/src/becca/entities/battachment.js +++ b/src/becca/entities/battachment.js @@ -8,7 +8,8 @@ const protectedSessionService = require('../../services/protected_session.js'); const log = require('../../services/log.js'); const attachmentRoleToNoteTypeMapping = { - 'image': 'image' + 'image': 'image', + 'file': 'file' }; /**