Merge remote-tracking branch 'origin/stable'

This commit is contained in:
zadam
2020-03-09 21:00:38 +01:00
7 changed files with 30 additions and 7 deletions

View File

@@ -9,7 +9,8 @@ async function insertEntitySync(entityName, entityId, sourceId) {
entityName: entityName,
entityId: entityId,
utcSyncDate: dateUtils.utcNowDateTime(),
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId()
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId(),
isSynced: 1
};
sync.id = await sql.replace("sync", sync);