mirror of
https://github.com/TriliumNext/Notes.git
synced 2026-04-21 19:28:59 -05:00
support for loading and saving type and mime
This commit is contained in:
@@ -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,
|
||||
|
||||
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user