From d8bff694c667f879d6d9870dae8bff18a0270402 Mon Sep 17 00:00:00 2001 From: Tara Zou Date: Fri, 26 Apr 2024 16:19:35 -0400 Subject: [PATCH] fix lint --- src/SelfServe/SqlX/SqlX.rp.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);