fix protecting files/images

This commit is contained in:
zadam
2019-05-04 16:05:28 +02:00
parent a9762c5139
commit 47d28b4eef
3 changed files with 33 additions and 12 deletions

View File

@@ -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) {