hotfix(medusa): match stringified id
This commit is contained in:
@@ -360,12 +360,6 @@ export const orders = {
|
||||
data: {},
|
||||
items: {},
|
||||
},
|
||||
{
|
||||
provider_id: "default_provider",
|
||||
profile_id: IdMap.getId("default"),
|
||||
data: {},
|
||||
items: {},
|
||||
},
|
||||
],
|
||||
discounts: [],
|
||||
},
|
||||
|
||||
@@ -39,7 +39,7 @@ class FulfillmentService extends BaseService {
|
||||
// we require bundles to have same shipping method, therefore:
|
||||
return profile.products.includes(content[0].product._id)
|
||||
} else {
|
||||
return profile.products.includes(content.product._id)
|
||||
return profile.products.includes(`${content.product._id}`)
|
||||
}
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user