added type and mime to note revisions

This commit is contained in:
azivner
2018-04-08 11:57:14 -04:00
parent 8d8ee2a87a
commit 9720868f5a
3 changed files with 8 additions and 1 deletions

View File

@@ -180,6 +180,8 @@ async function saveNoteRevision(note) {
// title and text should be decrypted now
title: note.title,
content: note.content,
type: note.type,
mime: note.mime,
isProtected: 0, // will be fixed in the protectNoteRevisions() call
dateModifiedFrom: note.dateModified,
dateModifiedTo: dateUtils.nowDate()