mirror of
https://github.com/zadam/trilium.git
synced 2025-11-12 00:05:50 +01:00
renamed db columns to camelCase
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user