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