fix DB setup

This commit is contained in:
zadam
2020-06-20 21:42:41 +02:00
parent 6207203b35
commit 027afab6b1
19 changed files with 133 additions and 118 deletions

View File

@@ -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
});