use entity changes instead of actual tables to fill in sector to sync, fixes #1809

This commit is contained in:
zadam
2021-04-04 22:02:40 +02:00
parent 7672f22ce0
commit f0cc3d0bcd
3 changed files with 7 additions and 19 deletions

View File

@@ -200,9 +200,7 @@ function queueSector(req) {
const entityName = utils.sanitizeSqlIdentifier(req.params.entityName);
const sector = utils.sanitizeSqlIdentifier(req.params.sector);
const entityPrimaryKey = entityConstructor.getEntityFromEntityName(entityName).primaryKeyName;
entityChangesService.addEntityChangesForSector(entityName, entityPrimaryKey, sector);
entityChangesService.addEntityChangesForSector(entityName, sector);
}
module.exports = {