Skip to content

Commit

Permalink
fix(core): Remove original entityTable from channels sql request (#2791)
Browse files Browse the repository at this point in the history
  • Loading branch information
monrostar authored Apr 18, 2024
1 parent 09f25d3 commit 9c1cb16
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/core/src/service/services/channel.service.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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 })
Expand Down

0 comments on commit 9c1cb16

Please sign in to comment.