Skip to content

Commit

Permalink
fix(link-modules): fix link configuration for product shipping profile
Browse files Browse the repository at this point in the history
  • Loading branch information
riqwan committed Sep 11, 2023
1 parent 2b078f0 commit 79f29d4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
5 changes: 5 additions & 0 deletions .changeset/clever-jokes-pull.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@medusajs/link-modules": patch
---

fix(link-modules): fix link configuration for product shipping profile
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,7 @@ export const ProductShippingProfile: ModuleJoinerConfig = {
serviceName: Modules.PRODUCT,
relationship: {
serviceName: LINKS.ProductShippingProfile,
isInternalService: true,
primaryKey: "product_id",
foreignKey: "id",
alias: "shipping_profile",
Expand All @@ -44,6 +45,7 @@ export const ProductShippingProfile: ModuleJoinerConfig = {
serviceName: "shippingProfileService",
relationship: {
serviceName: LINKS.ProductShippingProfile,
isInternalService: true,
primaryKey: "profile_id",
foreignKey: "id",
alias: "product_link",
Expand Down

0 comments on commit 79f29d4

Please sign in to comment.