mirror of
https://github.com/zadam/trilium.git
synced 2025-11-10 23:35:50 +01:00
fix sync
This commit is contained in:
@@ -156,10 +156,7 @@ async function pullSync(syncContext) {
|
||||
appliedPulls++;
|
||||
}
|
||||
|
||||
// can be undefined for options with isSynced=false
|
||||
if (entity) {
|
||||
await syncUpdateService.updateEntity(sync, entity, syncContext.sourceId);
|
||||
}
|
||||
await syncUpdateService.updateEntity(sync, entity, syncContext.sourceId);
|
||||
}
|
||||
|
||||
stats.outstandingPulls = resp.maxSyncId - sync.id;
|
||||
|
||||
Reference in New Issue
Block a user