From e0634aeeabf103e4abde0833c9f8aa1d2381d219 Mon Sep 17 00:00:00 2001 From: dbroqua Date: Mon, 27 Jun 2022 14:24:36 +0200 Subject: [PATCH] Modification import des prix --- importGasStations.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/importGasStations.js b/importGasStations.js index c093492..a497935 100644 --- a/importGasStations.js +++ b/importGasStations.js @@ -56,7 +56,7 @@ const extractPrice = station => { const currentPrice = station.prix[i]; prices.push({ gasType: currentPrice.nom, - price: parseInt(currentPrice.valeur, 10) / 1000, + price: currentPrice.valeur, updatedAt: moment(currentPrice.maj) }); }