mirror of
https://github.com/zadam/trilium.git
synced 2025-11-02 03:16:11 +01:00
all events are now synchronous
This commit is contained in:
@@ -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
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user