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