mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-29 00:47:01 +00:00
fix format
This commit is contained in:
parent
586ae376a3
commit
5ee2af75dd
@ -225,7 +225,8 @@ 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 unitEffectivePriceInBillingCurrency = item.prices.find((x) => x.type === "Consumption")?.unitEffectivePriceInBillingCurrency;
|
const unitEffectivePriceInBillingCurrency = item.prices.find((x) => x.type === "Consumption")
|
||||||
|
?.unitEffectivePriceInBillingCurrency;
|
||||||
regionPriceMap.set(skuName, unitEffectivePriceInBillingCurrency);
|
regionPriceMap.set(skuName, unitEffectivePriceInBillingCurrency);
|
||||||
}
|
}
|
||||||
priceMap.set(region, regionPriceMap);
|
priceMap.set(region, regionPriceMap);
|
||||||
|
Loading…
Reference in New Issue
Block a user