Modification import des prix

This commit is contained in:
Damien Broqua 2022-06-27 14:24:36 +02:00
parent f73e46b5e6
commit e0634aeeab

View file

@ -56,7 +56,7 @@ const extractPrice = station => {
const currentPrice = station.prix[i]; const currentPrice = station.prix[i];
prices.push({ prices.push({
gasType: currentPrice.nom, gasType: currentPrice.nom,
price: parseInt(currentPrice.valeur, 10) / 1000, price: currentPrice.valeur,
updatedAt: moment(currentPrice.maj) updatedAt: moment(currentPrice.maj)
}); });
} }