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

This commit is contained in:
Oliver Windall Juhl authored and GitHub committed 2022-12-12 18:34:30 +01:00
1 parent e63777e3c5
commit b2ea8b7d45
8 files changed
+267 -163

No files matched your search

@@ -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"] }