all events are now synchronous

This commit is contained in:
azivner
2018-08-12 20:07:02 +02:00
parent 9fb0599c45
commit c78ddb70cb
3 changed files with 3 additions and 15 deletions

View File

@@ -53,7 +53,7 @@ async function addEntitySync(entityName, entityId, sourceId) {
sourceId: sourceId || cls.getSourceId() || sourceIdService.getCurrentSourceId()
});
await eventService.syncEmit(eventService.ENTITY_CHANGED, {
await eventService.emit(eventService.ENTITY_CHANGED, {
entityName,
entityId
});