fix(link-modules): fix link configuration for product shipping profile (#5014)
This commit is contained in:
@@ -0,0 +1,5 @@
|
|||||||
|
---
|
||||||
|
"@medusajs/link-modules": patch
|
||||||
|
---
|
||||||
|
|
||||||
|
fix(link-modules): fix link configuration for product shipping profile
|
||||||
@@ -35,6 +35,7 @@ export const ProductShippingProfile: ModuleJoinerConfig = {
|
|||||||
serviceName: Modules.PRODUCT,
|
serviceName: Modules.PRODUCT,
|
||||||
relationship: {
|
relationship: {
|
||||||
serviceName: LINKS.ProductShippingProfile,
|
serviceName: LINKS.ProductShippingProfile,
|
||||||
|
isInternalService: true,
|
||||||
primaryKey: "product_id",
|
primaryKey: "product_id",
|
||||||
foreignKey: "id",
|
foreignKey: "id",
|
||||||
alias: "shipping_profile",
|
alias: "shipping_profile",
|
||||||
@@ -44,6 +45,7 @@ export const ProductShippingProfile: ModuleJoinerConfig = {
|
|||||||
serviceName: "shippingProfileService",
|
serviceName: "shippingProfileService",
|
||||||
relationship: {
|
relationship: {
|
||||||
serviceName: LINKS.ProductShippingProfile,
|
serviceName: LINKS.ProductShippingProfile,
|
||||||
|
isInternalService: true,
|
||||||
primaryKey: "profile_id",
|
primaryKey: "profile_id",
|
||||||
foreignKey: "id",
|
foreignKey: "id",
|
||||||
alias: "product_link",
|
alias: "product_link",
|
||||||
|
|||||||
Reference in New Issue
Block a user