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

@@ -14,7 +14,7 @@ const recentNotes = (function() {
async function reload() {
const result = await server.get('recent-notes');
list = result.map(r => r.note_path);
list = result.map(r => r.notePath);
}
function addRecentNote(noteTreeId, notePath) {
@@ -23,7 +23,7 @@ const recentNotes = (function() {
if (notePath && notePath === noteTree.getCurrentNotePath()) {
const result = await server.put('recent-notes/' + noteTreeId + '/' + encodeURIComponent(notePath));
list = result.map(r => r.note_path);
list = result.map(r => r.notePath);
}
}, 1500);
}