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 })