mirror of
https://github.com/zadam/trilium.git
synced 2025-11-03 03:46:37 +01:00
fix DB setup
This commit is contained in:
@@ -5,7 +5,6 @@ const repository = require('./repository');
|
||||
const Branch = require('../entities/branch');
|
||||
const syncTableService = require('./sync_table');
|
||||
const protectedSessionService = require('./protected_session');
|
||||
const noteCacheService = require('./note_cache/note_cache.js');
|
||||
|
||||
function getNotes(noteIds) {
|
||||
// we return also deleted notes which have been specifically asked for
|
||||
@@ -23,8 +22,6 @@ function getNotes(noteIds) {
|
||||
|
||||
protectedSessionService.decryptNotes(notes);
|
||||
|
||||
noteCacheService.loadedPromise;
|
||||
|
||||
notes.forEach(note => {
|
||||
note.isProtected = !!note.isProtected
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user