mirror of
https://github.com/zadam/trilium.git
synced 2025-11-06 21:36:05 +01:00
fix protecting files/images
This commit is contained in:
@@ -59,7 +59,7 @@ function decryptNote(note) {
|
||||
function decryptNoteContent(note) {
|
||||
try {
|
||||
if (note.content != null) {
|
||||
note.content = dataEncryptionService.decrypt(getDataKey(), note.content.toString());
|
||||
note.content = dataEncryptionService.decrypt(getDataKey(), note.content);
|
||||
}
|
||||
}
|
||||
catch (e) {
|
||||
|
||||
Reference in New Issue
Block a user