Skip to content

Build your personal knowledge base with Trilium Notes

allow converting file attachments to file notes

zadam90f4c6b0d119
diff --git a/src/becca/entities/battachment.js b/src/becca/entities/battachment.js
index e3e77974dc..faeb131e75 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'
};
/**