diff --git a/src/SelfServe/SqlX/SqlX.rp.ts b/src/SelfServe/SqlX/SqlX.rp.ts index 620f4c911..5ecd76f8e 100644 --- a/src/SelfServe/SqlX/SqlX.rp.ts +++ b/src/SelfServe/SqlX/SqlX.rp.ts @@ -225,7 +225,8 @@ export const getPriceMapAndCurrencyCode = async (map: OfferingIdMap): Promise x.type === "Consumption")?.unitEffectivePriceInBillingCurrency; + const unitEffectivePriceInBillingCurrency = item.prices.find((x) => x.type === "Consumption") + ?.unitEffectivePriceInBillingCurrency; regionPriceMap.set(skuName, unitEffectivePriceInBillingCurrency); } priceMap.set(region, regionPriceMap);