From 49c4f10d37aaabdf5e0b43e8688ca252d9cbce03 Mon Sep 17 00:00:00 2001 From: Montassar Ghanmy Date: Tue, 4 Mar 2025 10:10:55 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Delete=20indexes=20on=20item=20r?= =?UTF-8?q?emoval=20(#836)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../src/core/platform/services/database/services/orm/manager.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tdrive/backend/node/src/core/platform/services/database/services/orm/manager.ts b/tdrive/backend/node/src/core/platform/services/database/services/orm/manager.ts index 59e769d4..cb334b86 100644 --- a/tdrive/backend/node/src/core/platform/services/database/services/orm/manager.ts +++ b/tdrive/backend/node/src/core/platform/services/database/services/orm/manager.ts @@ -81,7 +81,7 @@ export default class EntityManager> { await this.connector.remove([entity]); - localEventBus.publish("database:entities:saved", { + localEventBus.publish("database:entities:removed", { entities: [entity], } as DatabaseEntitiesRemovedEvent);