fix note ordering sync

This commit is contained in:
azivner
2018-04-14 08:23:06 -04:00
parent 66cee8daa4
commit d57057ba28
2 changed files with 2 additions and 2 deletions

View File

@@ -101,7 +101,7 @@ async function pullSync(syncContext) {
log.info(`Skipping pull #${sync.id} ${sync.entityName} ${sync.entityId} because ${sync.sourceId} is a local source id.`);
}
else {
await syncUpdateService.updateEntity(sync.entityName, entity, syncContext.sourceId);
await syncUpdateService.updateEntity(sync, entity, syncContext.sourceId);
}
await setLastSyncedPull(sync.id);