hotfix(medusa): match stringified id

This commit is contained in:
Sebastian Rindom
2020-12-17 10:50:39 +01:00
parent a14578dbe4
commit e7f2d20138
3 changed files with 1 additions and 60 deletions
@@ -360,12 +360,6 @@ export const orders = {
data: {},
items: {},
},
{
provider_id: "default_provider",
profile_id: IdMap.getId("default"),
data: {},
items: {},
},
],
discounts: [],
},
+1 -1
View File
@@ -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}`)
}
})
}