fix(medusa): Throw on flat rate shipping options with no amount (#2628)

This commit is contained in:
Oliver Windall Juhl
2022-12-12 18:34:30 +01:00
committed by GitHub
parent e63777e3c5
commit b2ea8b7d45
8 changed files with 267 additions and 163 deletions
@@ -129,7 +129,7 @@ export const simpleProductFactory = async (
await simpleProductVariantFactory(connection, factoryData)
}
return manager.findOne(
return await manager.findOne(
Product,
{ id: prodId },
{ relations: ["tags", "variants", "variants.prices"] }