This commit is contained in:
Tara Zou 2024-04-26 16:19:35 -04:00
parent 7fbc33e82b
commit d8bff694c6

View File

@ -225,7 +225,7 @@ export const getPriceMapAndCurrencyCode = async (map: OfferingIdMap): Promise<Pr
const offeringId = item.id; const offeringId = item.id;
const skuName = map.get(region).get(offeringId); const skuName = map.get(region).get(offeringId);
const unitPrice = item.prices.find((x) => x.type == "Consumption")?.unitPrice; const unitPrice = item.prices.find((x) => x.type === "Consumption")?.unitPrice;
regionPriceMap.set(skuName, unitPrice); regionPriceMap.set(skuName, unitPrice);
} }
priceMap.set(region, regionPriceMap); priceMap.set(region, regionPriceMap);