cleanup of entity changes processing

This commit is contained in:
zadam
2021-06-30 20:54:15 +02:00
parent 5be7f003ca
commit 2035304b63
7 changed files with 32 additions and 44 deletions

View File

@@ -170,10 +170,10 @@ function update(req) {
}
}
const {sourceId, entities} = body;
const {entities} = body;
for (const {entityChange, entity} of entities) {
syncUpdateService.updateEntity(entityChange, entity, sourceId);
syncUpdateService.updateEntity(entityChange, entity);
}
}