mirror of
https://github.com/Azure/cosmos-explorer.git
synced 2025-12-21 18:01:39 +00:00
fix lint
This commit is contained in:
@@ -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);
|
||||||
|
|||||||
Reference in New Issue
Block a user