fix filling sync table after demo document import

This commit is contained in:
zadam 2020-08-02 22:53:57 +02:00
parent 749791f6d1
commit 5a5ea4f474
2 changed files with 2 additions and 2 deletions

View file

@ -199,7 +199,7 @@ class TreeCache {
getNotesFromCache(noteIds, silentNotFoundError = false) {
return noteIds.map(noteId => {
if (!this.notes[noteId] && !silentNotFoundError) {
console.log(`Can't find note "${noteId}"`);
console.trace(`Can't find note "${noteId}"`);
return null;
}

View file

@ -83,7 +83,7 @@ function fillSyncRows(entityName, entityPrimaryKey, condition = '') {
entityId: entityId,
sourceId: "SYNC_FILL",
utcSyncDate: dateUtils.utcNowDateTime(),
isSynced: true
isSynced: 1
});
}
}