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,9 +99,7 @@ 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;