Skip to content

Commit

Permalink
fix(core): Fixed wrong join statement for variant on ProductVariantPr…
Browse files Browse the repository at this point in the history
…ice (#3230) (#3231)
  • Loading branch information
Draykee authored Nov 29, 2024
1 parent 121055b commit 7798ddc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export class ProductVariantService {
return this.connection
.getRepository(ctx, ProductVariantPrice)
.createQueryBuilder('pvp')
.where('pvp.productVariant = :productVariantId', { productVariantId })
.where('pvp.variant = :productVariantId', { productVariantId })
.andWhere('pvp.channelId = :channelId', { channelId: ctx.channelId })
.getMany();
}
Expand Down

0 comments on commit 7798ddc

Please sign in to comment.