support for loading and saving type and mime

This commit is contained in:
azivner
2018-01-21 23:36:09 -05:00
parent f9631ff59f
commit e56fb6d2d4
8 changed files with 40 additions and 20 deletions
+1 -1
View File
@@ -3,7 +3,7 @@
const build = require('./build');
const packageJson = require('../package');
const APP_DB_VERSION = 68;
const APP_DB_VERSION = 69;
module.exports = {
app_version: packageJson.version,
+1
View File
@@ -40,6 +40,7 @@ async function createNewNote(parentNoteId, note, sourceId) {
note_text: note.note_text ? note.note_text : '',
is_protected: note.is_protected,
type: 'text',
mime: 'text/html',
date_created: now,
date_modified: now
});