mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2024-11-25 15:06:55 +00:00
fix lint
This commit is contained in:
parent
7fbc33e82b
commit
d8bff694c6
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user