initial commit

This commit is contained in:
Jose Rivera 2020-06-17 13:55:21 -05:00
parent 68ecda25a6
commit 843fc1fb6c
1 changed files with 2 additions and 4 deletions

View File

@ -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;
}
}