From 9c1cb1662e899c62d93f8741f9476f415c721998 Mon Sep 17 00:00:00 2001 From: Eugene Nitsenko Date: Thu, 18 Apr 2024 10:00:46 +0200 Subject: [PATCH] fix(core): Remove original entityTable from channels sql request (#2791) --- packages/core/src/service/services/channel.service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/core/src/service/services/channel.service.ts b/packages/core/src/service/services/channel.service.ts index 0f76d69c3d..57e49e7ee8 100644 --- a/packages/core/src/service/services/channel.service.ts +++ b/packages/core/src/service/services/channel.service.ts @@ -162,7 +162,7 @@ export class ChannelService { return await this.connection .getRepository(ctx, entityType) - .createQueryBuilder() + .manager.createQueryBuilder() .select(`channel.${inverseJunctionColumnName}`, 'channelId') .from(junctionTableName, 'channel') .where(`channel.${junctionColumnName} = :entityId`, { entityId })