initial commit
This commit is contained in:
parent
68ecda25a6
commit
843fc1fb6c
|
@ -99,12 +99,10 @@ const getEthSum = async (elemsCC, dates) => {
|
||||||
let sumCC = 0;
|
let sumCC = 0;
|
||||||
for (let key in elemsCC) {
|
for (let key in elemsCC) {
|
||||||
sum += elemsCC[key]['conversionPrice']['ETH'];
|
sum += elemsCC[key]['conversionPrice']['ETH'];
|
||||||
}
|
sumCC +=1;
|
||||||
for (let key in elemsCC) {
|
|
||||||
sumCC += 1;
|
|
||||||
}
|
}
|
||||||
ret.ccTotal = sumCC;
|
ret.ccTotal = sumCC;
|
||||||
ret.ccTS = sum;
|
ret.ccTS = sum;
|
||||||
ret.dates = dates;
|
ret.dates = dates;
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue