set sync.isSynced correctly

This commit is contained in:
zadam
2020-03-09 21:28:41 +01:00
parent c67613a557
commit eb287917c1
4 changed files with 700 additions and 8 deletions

View File

@@ -176,7 +176,7 @@ async function updateOptions(remoteEntity, sourceId) {
if (shouldWeUpdateEntity(localEntity, remoteEntity)) {
await sql.replace('options', remoteEntity);
await syncTableService.addOptionsSync(remoteEntity.name, sourceId);
await syncTableService.addOptionsSync(remoteEntity.name, sourceId, true);
}
});
}