Modification import des prix
This commit is contained in:
parent
f73e46b5e6
commit
e0634aeeab
1 changed files with 1 additions and 1 deletions
|
@ -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)
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue