renamed db columns to camelCase

This commit is contained in:
azivner
2018-01-28 19:30:14 -05:00
parent 55d8ef7e81
commit 3b1f928fbc
58 changed files with 778 additions and 778 deletions

View File

@@ -113,11 +113,11 @@ const protected_session = (function() {
noteEditor.updateNoteFromInputs(note);
note.detail.is_protected = true;
note.detail.isProtected = true;
await noteEditor.saveNoteToServer(note);
noteTree.setProtected(note.detail.note_id, note.detail.is_protected);
noteTree.setProtected(note.detail.noteId, note.detail.isProtected);
noteEditor.setNoteBackgroundIfProtected(note);
}
@@ -129,11 +129,11 @@ const protected_session = (function() {
noteEditor.updateNoteFromInputs(note);
note.detail.is_protected = false;
note.detail.isProtected = false;
await noteEditor.saveNoteToServer(note);
noteTree.setProtected(note.detail.note_id, note.detail.is_protected);
noteTree.setProtected(note.detail.noteId, note.detail.isProtected);
noteEditor.setNoteBackgroundIfProtected(note);
}