reddit plugin refactoring, performance improvemnts etc.

This commit is contained in:
azivner
2018-01-13 15:25:09 -05:00
parent ccd222cf12
commit a375c55371
5 changed files with 103 additions and 88 deletions

View File

@@ -37,7 +37,7 @@ async function createNewNote(parentNoteId, note, sourceId) {
await sql.insert("notes", {
note_id: noteId,
note_title: note.note_title,
note_text: '',
note_text: note.note_text ? note.note_text : '',
date_created: now,
date_modified: now,
is_protected: note.is_protected