From a5a3b661dca0b57fb3af90ba405a432a33010c01 Mon Sep 17 00:00:00 2001 From: Daniel Biegler Date: Sun, 1 Dec 2024 13:58:44 +0100 Subject: [PATCH] fix(core): Remove obsolete comment --- packages/core/src/service/services/role.service.ts | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/core/src/service/services/role.service.ts b/packages/core/src/service/services/role.service.ts index 24ea21ffbe..2857c33163 100644 --- a/packages/core/src/service/services/role.service.ts +++ b/packages/core/src/service/services/role.service.ts @@ -275,8 +275,6 @@ export class RoleService { role.channels = targetChannels; } - // TODO need to update the channel-role rows here if the strategy demands it - await this.connection.getRepository(ctx, Role).save(role, { reload: false }); const updatedRole = await assertFound(this.findOne(ctx, role.id)); await this.eventBus.publish(new RoleEvent(ctx, updatedRole, 'updated', input));