Skip to content

Commit

Permalink
Merge branch 'clearsense-master' into dev
Browse files Browse the repository at this point in the history
  • Loading branch information
xming13 committed Apr 6, 2020
2 parents 80d9167 + 9c4fcd2 commit cd53344
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions services/statsService.js
Original file line number Diff line number Diff line change
Expand Up @@ -245,6 +245,10 @@ async function getCountryStats(sort = '-confirmed', limit=999, countryCode = nul
let result = await conn.query(query, args);
const data = result[0]

if (date) {
return data;
}

const updatedData = updateCountryDetailStatsWithCustomStats(data, limit, getAllFlag, sort)
return updatedData
}
Expand Down

0 comments on commit cd53344

Please sign in to comment.